[mythtv-users] Recording internet radio - will mythstream do it?

Steve Heistand steve at heistand.org
Wed Oct 22 19:38:35 UTC 2008


> >
> > Is there a way you can know the PID it just launched to pass it to killall?
> > That way if mythtv is using the mplayer instead of the internal player
> > I don't kill it as well.
> >   
> The shell variable $! contains the process ID of the last process
> executed in the background.
> > Dave

just for clarity 'killall' doesnt take PIDs, but rather executable names

killall mplayer

vs 
kill -9 $!

or %1 is the first backgrounded process still running. the 'jobs' command
lists them all.



"Why is it so hot inside this handbasket?"
--
Steve Heistand
steve at heistand.org



More information about the mythtv-users mailing list