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
  • 330,190
  • 66
  • 504
  • 555
The Unfun Cat
  • 26,783
  • 25
  • 102
  • 145

0 Answers0