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=6015, NAME=R, AT=2024-10-29 08:51:51.83
ps_cwd(p)
#> [1] "/home/runner/work/ps/ps/docs/reference"