Effect CommunityEC
Effect Community3y ago
4 replies
wayne

Accessing and Handling CLI Output with the `Command` Package

I'm using the Command package to run a CLI. I can access the output using Command.lines which returns stdout as string array. However I'd also like to check stderr and return an error with the output of stderr as a string. What's the easiest way of doing this?
Was this page helpful?