onepub-dev / dcli

An extensive library and tooling for building console/cli applications and scripts using the Dart programming language.
242 stars 28 forks source link

string.toList - need to write stderr into the list on non-zero exit #88

Closed bsutton closed 3 years ago

bsutton commented 4 years ago

If I run a command like:

'mysql -root --password=XXXX --host=127.0.0.1 --port=3306 auditor -e "drop database auditor"'.toList();

If the command fails with a non-zero exit code (in this case because the db wasn't running) then associated error message isn't available. We need to ensure that the error message is written into the list.

bsutton commented 3 years ago

done.