[mythtv-users] sudo nice --5 xine Permissions?
Andrew Burgess
aab at cichlid.com
Tue Aug 21 05:48:59 UTC 2007
>I wonder if the & at the
>end of the xine command will properly allow for continued execution of
>the script.
it will
>If the & doesn't do it I might have to look into forking
>the script. I might also have to sleep a few cycles while xine launches
>before grabbing the PID.
if you did it that way, yes. bash has a builtin "$!" to get the
pid of that last backgrounded process, no sleep necessary.
>xine -pfhq --post tvtime:method=Greedy2Frame --no-splash dvd:/ &
>PID=$(ps -C xine -o pid=)
PID=$!
>chrt --verbose --fifo --pid 10 $PID
>ionice -c1 -p $PID
More information about the mythtv-users
mailing list