Use `Process.communicate()` instead of `Process.wait()` to ensure the `stdin` and `stdout` OS pipe buffers don't get full and cause a deadlock waiting for the buffers to get emptied.
10 KiB
10 KiB