rust-cli / rexpect

.github/workflows/ci.yml
https://docs.rs/rexpect
MIT License
328 stars 56 forks source link

Fix argument tokenization #66

Closed matthiasbeyer closed 2 years ago

matthiasbeyer commented 2 years ago

The single and double quotes used to group words into a single command line argument must be trimmed from the tokens.

E.g. the argument of cmd "foo bar" is the string "foo bar" and not "\"foo bar\"".


Tests locally do not run for this, but lets see what CI tells us. Maybe my setup is bogus.

Closes #39

matthiasbeyer commented 2 years ago

Nice, so it was indeed my local setup that made the tests confused. I guess we can

bors merge

@didier-wenzek thanks for contributing to this crate.

bors[bot] commented 2 years ago

Build succeeded: