Hey list, I was previously feeding a list of files into my software using parallelized invocation like so:
$ find . -type f -print0 | xargs --null ... my_program
This worked great. Since replacing xargs with GNU parallel, I'm finding
performance is better because of the dynamic load balancing (e.g. -
-load=90%).
Something strange though happened during the migration. Previously
my_program was able to detect correctly when the standard out device
was an actual terminal via a call at runtime to isatty(STDOUT_FILENO).
I noticed with GNU parallel, however, this same function seems to
report a terminal is not open for stdout even when it is. Is this a bug
in GNU parallel? Or more likely I am doing something wrong.
Yours truly,
--
Kip Warner -- Senior Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
signature.asc
Description: This is a digitally signed message part
