vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Struct Process

Represents a running process.

struct Process ;

Properties

NameTypeDescription
exited[get] boolWhether the process has exited.
pid[get] intAn operating system handle to the process.

Methods

NameDescription
forceKill () Terminate the process immediately.
kill (signal) Kill the process.
opCast () Check whether this is a valid process handle. The process may have exited already.
wait () Wait for the process to exit, allowing other fibers to continue in the meantime.
waitOrForceKill (timeout) Wait for the process to exit until a timeout is reached. If the process doesn't exit before the timeout, force kill it.
Authors
Copyright
License