When block() is called on a subprocess that's already been closed, it throws an opaque exception in the Python standard library. We should simply return to the user when block() is called on a finished process because there is no more work to be done.
When
block()
is called on a subprocess that's already been closed, it throws an opaque exception in the Python standard library. We should simply return to the user whenblock()
is called on a finished process because there is no more work to be done.