Merge pull request #455 from tfaughnan/ps-fix

ps.sh: fix ps arguments to work for busybox
This commit is contained in:
Bruno Sutic 2022-09-22 09:14:40 +02:00 committed by GitHub
commit 88297b4c3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ exit_safely_if_empty_ppid() {
}
full_command() {
ps -ao "ppid command" |
ps -ao "ppid,args" |
sed "s/^ *//" |
grep "^${PANE_PID}" |
cut -d' ' -f2-