0

I am trying to switch to another user during a session in SSH plug-in for Gradle. The execution hangs and do not continue.

I want to do: su - user

I have tried to do the following in build.Gradle file in a Gradle task

session(remotes.web){
def result = execute ‘su - user’
println result 
}

But nothing was printed

Androider
  • 105
  • 11

0 Answers0