Commit 2a5b765
committed
libsubprocess: allow server write before start
Problem: data written to the subprocess server before the subprocess
has entered RUNNING state is silently discarded, but must be handled
in order to eliminate extraneous buffering on the client size.
Drop stdin data only when the subprocess is in FAILED or EXITED state.1 parent 6300544 commit 2a5b765
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
| 443 | + | |
| 444 | + | |
444 | 445 | | |
445 | 446 | | |
446 | 447 | | |
| |||
0 commit comments