Resume process execution with SIGCONT preemptively checking whether PID has been reused. On Windows this has the effect of resuming all process threads.

ps_resume(p)

Arguments

p

Process handle.

See also

Examples

px <- processx::process$new("sleep", "10") p <- ps_handle(px$get_pid()) p
#> <ps::ps_handle> PID=17454, NAME=sleep, AT=2020-02-16 11:38:36
#> NULL
#> [1] "stopped"
ps_resume(p)
#> NULL
#> [1] "sleeping"
#> NULL