PID

PID

The PID class represents an integer process ID.

Bool

method Bool( ⟶ Bool)

In Bool context the PID returns the result of .exists

exists

method exists( ⟶ Bool)

Returns true if the process exists on the system.

kill

method kill(Str $signal ⟶ Bool)

Sends the process a signal. Returns true if the signal was successfully sent.

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.