System.Process.runInteractiveProcess needs a way to pipe just some handles
Currently runInteractiveProcess attaches pipes to all 3 standard handles. Sometimes it's necessary to attach pipes to a subset, and possibly pass in existing Handles for the others. For example this could be used to connect a sequence of processes together with pipes. Also see Distribution.Simple.Utils.rawSystemStdout.
While we're here, we could add a more convenient popen-like API.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.6.1 |
| Type | Task |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | libraries/base |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown |
| Architecture | Unknown |