shell / projekt.commons.shell / Shell / exec
exec¶
fun exec(command:String):Shell.Result
Executes command with initialized shell process
Parameters¶
command - the command to be executed
Return Result of command
@Synchronized fun exec(commands:Array<String>):Shell.Result
Executes command with initialized shell process
Parameters¶
commands - array of commands to be executed in sequence
Return Result of commands