tmux-resurrect/save_command_strategies
Thomas Faughnan 45aa8feef6
ps.sh: fix ps arguments to work for busybox
Use the format specifier 'ppid,args' instead of 'ppid command'. POSIX
allows either spaces or commas as separators, but busybox only allows
commas. Furthermore, 'args' is recognized by POSIX[0] while 'command' is
not. On implementations of ps that do recognize 'command', it is simply
an alias for 'args', e.g. Debian[1] and FreeBSD[2].

[0]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ps.html
[1]: https://manpages.debian.org/bullseye/procps/ps.1.en.html
[2]: https://www.freebsd.org/cgi/man.cgi?query=ps
2022-09-20 18:30:28 -04:00
..
gdb.sh Implement save command strategy gdb 2014-09-21 00:08:41 +02:00
linux_procfs.sh Use bash subshell for procfs interpolation of cmdline file 2022-08-16 08:57:39 -04:00
pgrep.sh Implement save command strategy: pgrep 2014-09-20 23:55:19 +02:00
ps.sh ps.sh: fix ps arguments to work for busybox 2022-09-20 18:30:28 -04:00