[mythtv] mythtranscode --showprogress

Geoffrey Hausheer mythtv0368 at phracturedblue.com
Tue Jul 20 12:03:46 EDT 2004


On Tue, 20 Jul 2004 08:17:27 -0700, Chris Petersen wrote:
> Geoffrey Hausheer wrote:
> > I think the right solution is to check the return code (0==all good,
> > 1==cutlist-changed, retry, 255=something bad happened)
> 
> Unfortunately, I don't know how to do this while reading from a pipe in
> perl.  If anyone who knows if this is possible wants to fill me in, I'm
> all ears.
> 
You should be able to check the value of $? after the pipe has been closed.

.Geoff


More information about the mythtv-dev mailing list