protected fun run(args: List<String>): Stringprotected fun run(vararg args: String): String
Run external applications synchronously. Wait for the executed application to complete.
args - Arguments to pass to the external application. Options must be passed as items in a list, not separated by spaces.
protected fun run(commands: List<String>, options: OptionBuilder): String
Run external applications synchronously. Wait for the executed application to complete.
commands - Arguments to pass to the external application. Options must be passed as items in a list, not separated by spaces.
options - Sets the builder for creating command.
protected fun run(command: String, options: OptionBuilder): String
Run external applications synchronously. Wait for the executed application to complete.
command - Arguments to pass to the external application. Options must be passed as items in a list, not separated by spaces.