PipeProcess

Async process that do not block on read from stdin/stderr.

Members

Functions

dispose
void dispose()

Kill and cleanup the process.

kill
void kill()

Kill the process.

osHandle
RawPid osHandle()
pipe
Pipe pipe()

Access to stdin and stdout.

status
int status()
stderr
FileReadChannel stderr()

Access stderr.

terminated
bool terminated()
tryWait
bool tryWait()

Non-blocking wait for the process termination. Returns: true if the process has terminated.

wait
int wait()

Blocking wait for the process to terminated. Returns: the exit status.

Meta