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

start(workingDirectory must set working directory before glob expansion occurs. #78

Closed bsutton closed 4 years ago

bsutton commented 4 years ago

When you run a command such as:

'zip -r ../install_auditor.zip *'.start(workingDirectory: 'target');

The glob expansion occurs before the workingDirectory is set.

Clearly the intent is to expand the glob in the 'target' directory.

As such we need to have the glob expansion occur in the context of the target directory.

bsutton commented 4 years ago

Fixed in 1.10.0