Package-level declarations
Types
Link copied to clipboard
Result tuple of Process.communicate().
Link copied to clipboard
The current process environment.
Link copied to clipboard
class EnvironmentBuilder(init: Map<String, String> = Environment) : AbstractMutableMap<String, String>
A mutable copy of the current environment.
Link copied to clipboard
Builder for the exec method.
Link copied to clipboard
A child process.
Link copied to clipboard
Mutable builder for process arguments and environment.
Link copied to clipboard
Link copied to clipboard
Indicates a problem with the process setup.
Link copied to clipboard
General subprocess exception.
Link copied to clipboard
Indicates a process that didn't exit cleanly.
Functions
Link copied to clipboard
suspend fun Process.communicate(input: String = "", timeout: Duration? = null, killTimeout: Duration? = null): CommunicateResult
Communicate with the process and wait for its termination.
Link copied to clipboard
Launch a process, communicate with it and check the result.
Link copied to clipboard
Locate the named executable on the system PATH.
Link copied to clipboard
Launch process using builder.
Link copied to clipboard
Create ProcessArguments using builder.