我可以更改某个进程的当前工作目录吗?
例如,我正在运行一个 pid 为 1000 的进程。现在,它的当前工作目录是~. 我想将其当前工作目录更改为~/1. 我该怎么做?
~
~/1
process cwd
cwd ×1
process ×1