wish: support running command which take their own args.
Opened this issue · 1 comments
Thanks for the module.
I'm trying to run a command that requires its own flags: cmd --force
.
If I quote the flags together this tool treats it as one command:
'cmd --force`
However, if I don't quote the command the flag seems to swallowed by this tool is not available to the command either.
@markstos Thanks for bring this to my attention. Can you provide a full example of the command you are running and on what platform(s)?
One thing to note is that on windows you may need to put quotes around the file globs. Example:
exec-if-updated --source "src\**" --target "dist\**" command -to -run
Something else you may want to try is separating the exec-if-updated parameters from the command with --
. Example:
exec-if-updated --source "src\**" --target "dist\**" -- command --to --run
I hope that helps. If it doesn't, please provide me some more details about the environment and command you are trying to run and I can look into it some more.