SpawnProcess

Async process wrapper for a std.process SpawnProcess

Members

Functions

dispose
void dispose()

Kill and cleanup the process.

kill
void kill()

Kill the process.

osHandle
RawPid osHandle()
status
int status()
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