shell

fun String.shell(workingDirectory: File = File(System.getProperty("user.dir")), timeout: Long = Long.MAX_VALUE, fail: Boolean = false): String

Executes a command in a shell (allowing to use pipes, redirections, etc.).

TODO

Return

Parameters

workingDirectory
timeout
fail