MedallionShell
MedallionShell copied to clipboard
A .NET library simplifying the execution and chaining of processes
I have a shell script on Linux, and I use MesallionShell to redirect it, but can not print read output on screen. ```Shell #!/bin/bash echo "" echo "" echo ""...
Ran into this when having one console app invoke another and "forward" its stdin. If nothing is coming into stdin then the IO task will never finish.
The following test runs very quickly with the min thread count elevated (e. g. 32) and very slowly without (e. g. 16). I believe that this is because the underlying...
See #65 for context. In 1.x we maintain MedallionShell.StrongName separately for backwards compat. In 2.x we can strong-name the main release.
MedallionShell auto-escapes, but sometimes you need nested escaping (e. g. https://github.com/madelson/MedallionShell/issues/68#issuecomment-603876613). API might look like: ``` class Command { static string EscapeArguments(IEnumerable args, OSPlatform? platform = null) } ``` One...
See #70 as an example of where this would be helpful. API would be something like `Command.Run(..., options => options.PreserveStandardOutput())`
See https://github.com/dotnet/sdk/issues/2679
https://stackoverflow.com/questions/34504970/non-blocking-read-on-os-pipe-on-windows gives hope that this may be possible.
* Should Kill() kill child processes? * Should Kill() send signals? * Configure the Kill() behavior for timeout/cancellation * Consider changing the default strategy for timeout/cancellation E. g: ``` Timeout(TimeSpan,...
CSProj files have been updated to enable SourceLink in your nuget --- *[This pull request was created with an automated workflow]* I noticed that your repository and Nuget package are...