It returns FALSE if the process has already finished.

ps_is_running(p)

Arguments

p

Process handle.

Value

Logical scalar.

Details

It uses the start time of the process to work around pid reuse. I.e.

See also

Examples

p <- ps_handle()
p
ps_is_running(p)