Skip to content

For a zombie process it throws a zombie_process error.

Usage

ps_cwd(p = ps_handle())

Arguments

p

Process handle.

Value

String scalar.

Examples

p <- ps_handle()
p
#> <ps::ps_handle> PID=10076, NAME=R, AT=2022-06-18 08:48:43
ps_cwd(p)
#> [1] "/home/runner/work/ps/ps/docs/reference"