method pid
| 1 | class Proc |
| 1.1 | (Proc) method pid |
| 2 | class Proc::Async |
| 2.1 | (Proc::Async) method pid |
Documentation for method pid assembled from the following types:
class Proc
From Proc
(Proc) method pid
method pid()
Returns the PID value of the process if available, or Nil.
class Proc::Async
From Proc::Async
(Proc::Async) method pid
method pid(Proc::Async: --> Promise)
Equivalent to ready.
Returns a Promise that will be kept once the process has successfully started. Promise will be broken if the program fails to start. Returned promise will hold the process id (PID).
Implementation-specific note: Available starting from Rakudo 2018.04.