CommunicateResult

constructor(exitCode: Int, output: String, errors: String)

Parameters

exitCode

process exit code. Is 0 if the process terminated normally

output

stdout pipe output, or empty if stdout wasn't a pipe

errors

stderr pipe output, or empty if stderr wasn't a pipe