nix-portable icon indicating copy to clipboard operation
nix-portable copied to clipboard

/proc is empty

Open milahu opened this issue 7 months ago • 0 comments

this breaks commands like pgrep or killall

$ ls -d /proc/[0-9]* | wc -l
30

$ pgrep rqbit
2655910

$ nix-shell

[nix-shell:~]$ pgrep rqbit

[nix-shell:~]$ killall rqbit
rqbit: no process found

[nix-shell:~]$ ls -d /proc/[0-9]* | wc -l
3

[nix-shell:~]$ ls -d /proc/[0-9]*
/proc/226879
/proc/301952
/proc/301953

[nix-shell:~]$ jobs

[nix-shell:~]$ head /proc/[0-9]*/cmdline
bash--rcfile/tmp/nix-shell-226879-0/rc

milahu avatar Mar 10 '25 10:03 milahu