Spawn.closePid

On some platforms, notably Windows, the GPid type represents a resource which must be closed to prevent resource leaking. Spawn.closePid is provided for this purpose. It should be used on all platforms, even though it doesn't do anything under UNIX.

class Spawn
static
void
closePid

Parameters

pid GPid

The process reference to close