-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unix combine commands with && does not work #79
Comments
I'll fire up a Linux VM and test. Can you send me the error message? The following is working for me in Windows: test_multiple_commands: {
cmd:
process.platform === "win32" ?
"(rmdir /s /q build || echo 'no build dir')" +
" && " +
"mkdir build" +
" && " +
"copy * build" +
" && " +
"echo done"
: "rm -rf build" +
" && " +
"cp * build" +
" && " +
"echo done"
} |
Anything with && works incorrect (and with ; as well). For example,
There's splitArgs function, it count everything after the first space as command argument. That's the
So the result is |
having the same problem as @Kasheftin any thoughts on how to resolve this? |
Fixed. Please retry with |
That's my typical config I use for years:
It works fine with 1.0.1. It does not work with 2.0.0.
The text was updated successfully, but these errors were encountered: