Skip to content

pipe::exitCode

exitCode(pipe: Pipe)

ParameterTypeDescription
pipePipe

Returns

(*) The exit code of the process belonging to the given pipe, or nil if it has not terminated yet. Note: Only works on pipes that run in the background (eg. where the background function has been used).