vibe.d beta banner
get vibe.d
0.10.1

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

Function Process.opCast

Check whether this is a valid process handle. The process may have exited already.

bool opCast(T)() const nothrow
if (is(T == bool));

Example

Process p;

assert(!p);
}

/**
An operating system handle to the process.
*/
@property int pid() const nothrow @nogc { return cast(int)m_pid; 
Authors
Copyright
License