It turns out it's possible to create a deadlock when using `child.wait()` with `Stdio::piped()`, if we don't read the output while the child process is running. This is because the pipe has an internal kernel buffer that will eventually fill up, causing the child process to block on writing to stdout and never exit. To remedy this situation, we read the stdout in a thread while the child process is running. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| Dockerfile | ||
| radicle-node.service | ||