composewell / streamly-process

Streaming interfaces for system processes
https://streamly.composewell.com
Apache License 2.0
10 stars 1 forks source link

Add Streamly.System.Process.Posix and Streamly.System.Process.Windows modules #79

Open harendra-kumar opened 11 months ago

harendra-kumar commented 11 months ago

To expose the Posix and Windows specific behavior.

harendra-kumar commented 11 months ago

Another alternative is to export the specific options from the common module and make them ineffective on the platform on which they do not apply. This will be more convenient to use but this lead to confusion as the code reader might think it is doing something.

Or we could prefix the posix and windows APIs with explicit posix, win32 prefixes.