diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/istream.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/istream.sh b/bin/istream.sh index eb835e4..fdf6c66 100755 --- a/bin/istream.sh +++ b/bin/istream.sh @@ -63,7 +63,7 @@ sleep 1 FFPID=$! if [ ! -z "$FFPID" ] then - SPID=`\ps ax --format pid,cmd,ppid | grep "$FFPID$" | grep -v cat | awk {'print $1'}`; + SPID=`\ps ax --format "%p %c %P" | grep "$FFPID$" | grep -v cat | awk {'print $1'}`; if [ ! -z "$SPID" ] then echo $SPID > ./ffmpeg.pid @@ -79,7 +79,7 @@ sleep 1 SEGPID=$! if [ ! -z "$SEGPID" ] then - SPID=`\ps ax --format pid,cmd,ppid | grep "$SEGPID$" | grep segmenter | awk {'print $1'}`; + SPID=`\ps ax --format "%p %c %P" | grep "$SEGPID$" | grep segmenter | awk {'print $1'}`; if [ ! -z "$SPID" ] then echo $SPID > ./segmenter.pid |