-
Notifications
You must be signed in to change notification settings - Fork 16
fix: Do not quote spawn args on Windows #17
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
base: develop
Are you sure you want to change the base?
fix: Do not quote spawn args on Windows #17
Conversation
Without setting `windowsVerbatimArguments: true` in the spawn options the redis-server would be spawned with `redis-server.exe "--port 3679"` which it would not accept as a valid argument.
1c75590 to
b7a6c8d
Compare
|
@BrandonZacharie not sure why the tests would fail now. Could you take a look please? |
|
I had Travis CI run tests on the development branch again since they had not not been run in over a year to make sure they still pass and they do. |
|
I see two things are needed here. First, I suppose |
|
Thanks for looking into this. According to the nodejs docs the I'll add a Travis CI config entry for Windows. |
|
Hmmm, adding Windows CI target did not really help. It checks out the code with |
|
@BrandonZacharie I've just run the tests on the master branch on a fresh linux machine. They fail with 3 tests. So this has nothing to do with my patch for Windows. Could you please verify on your side again the tests are fine? |
It looks like your tests are failing because that port is taken; I assume Redis is already running |
|
The tests pass for me locally and pass in CI. There may be dragons but I haven't been able to reproduce errors except when changing |
|
What version of Redis are you running on Linux? |
|
|
Running this on a system with no redis running from the master branch results in the exact 3 failed tests. I am out of ideas. Which redis are you testing with? @BrandonZacharie |

Without setting
windowsVerbatimArguments: truein thespawn options the redis-server would be spawned with
redis-server.exe "--port 3679"which it would not accept as a valid argument.