tynanbe / shellout

🐢 A Gleam library for cross-platform shell operations
Apache License 2.0
46 stars 1 forks source link

Return an error type rather than a tuple of string and int #6

Open lpil opened 8 months ago

lpil commented 8 months ago

Hello!

Currently the error value for the command function is very unrefined:

I think it'd be a lot nicer to use if there was an error type. It could have variants for the different kinds of reasons why the process failed to run.

Thanks, Louis

tynanbe commented 8 months ago

Thanks, I'll look into it when time allows.