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