dvd::rip

->ABOUT / NEWS

->DOCUMENTATION
-TABLE OF CONTENTS
-INSTALLATION
-USING THE GUI
-CLUSTER MODE
-FAQ

->KEY FEATURES

->DOWNLOAD

->SUPPORT

->TRANSLATIONS

->MAILING LIST
-SEARCH ARCHIVE

->CHANGE LOG

->CREDITS

->TODO

->LINKS

http://www.exit1.org/


Re: [dvd::rip] Transcode version checking bug

Subject: Re: [dvd::rip] Transcode version checking bug
From: Jörn Reder <joern@xxxxxx>
Date: Wed, 5 Sep 2007 09:01:54 +0200
Sean Gallagher wrote:

> echo had finished both of it jobs before transcode had written it's version, 
> which seems like a race condition but the ; did not seem to indicate that.
> 
> I tried the same command with:
> 
>  echo --transcode_version--; transcode -v; echo --transcode_version--;
> 
> replaced with
>  echo --transcode_version--; transcode -v; sleep 0.1; 
> echo --transcode_version--;
> 
> and it worked correctly..

The problem is the mixed output of STDERR and STDOUT. transcode prints 
its version number to STDERR, while echo prints to STDOUT. Both are 
mixed together by the shell in a non predictable order.

The sleep command workarounds that, but a "transcode -v 2>&1" should do
the trick in a more appropriate way. I'll fix that in the next release.

Thanks for the report.

Regards,

Jörn

-- 
LINUX - Linux Is Not gnU linuX

Attachment: pgpTherwv9Jar.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
 

Archive powered by MHonArc. Search powered by ht://dig.

[ top ]