0

If I start a process in parallel with joblib that calls a subprocess with a unix pipe (sed | uniq | blabla) many of those processes write error messages to the terminal after having sucessfully exited the python process with Ctrl-C.

sed: couldn't write 13 items to stdout: Broken pipe
uniq: write error: Broken pipe
uniq: write error: Broken pipe
sed: couldn't flush stdout: Broken pipe
sed: couldn't flush stdout: Broken pipe
sed: couldn't write 1 item to stdout: Broken pipe

Is there any way to avoid output like the above using joblib Parallel?

John Kugelman
  • 349,597
  • 67
  • 533
  • 578
The Unfun Cat
  • 29,987
  • 31
  • 114
  • 156

0 Answers0