Process.name

string name() @property @safe

Gets the process name.

Returns

The process name (typically the executable name without path).

Throws

NoSuchProcess if the process no longer exists.