You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.Process has grown a lot compared to what io-streams re-exports and redefines. For example, I miss withCreateProcess, and I am considering rolling out my own for use in some of the projects I am working on privately. I wonder if I can hope to merge this hypothetical work upstream.
As I project, the change would have three good qualities:
It is additive, so it would not affect the existing users that took care to use explicit imports.
It is principled, even almost automatic: essentially, all the Handle types have to be converted to appropriate streams with uniform application of only two distinct functions.
It is economic, reducing code duplication that is currently evident in the module.
Can this be considered?
The text was updated successfully, but these errors were encountered:
I'd suggest just stopping the re-exports from System.IO.Streams.Process. After all, if we want to use functions from System.Process we can just ... import System.Process.
Taking that out, the only functions that are left in System.IO.Stream.Process are runInteractiveCommand and runInteractiveProcess. I think there's scope for additional helper functions, but that's obscured right now by what turns out to be a large pile of re-exports that are not used by those two functions.
System.Process
has grown a lot compared to whatio-streams
re-exports and redefines. For example, I misswithCreateProcess
, and I am considering rolling out my own for use in some of the projects I am working on privately. I wonder if I can hope to merge this hypothetical work upstream.As I project, the change would have three good qualities:
Handle
types have to be converted to appropriate streams with uniform application of only two distinct functions.Can this be considered?
The text was updated successfully, but these errors were encountered: