kimmobrunfeldt/spawn-default-shell

cmd.exe returns incorrect exit code

Open

#4 opened on Sep 30, 2016

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (2 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (12 stars)
PR merge metrics
 (PR metrics pending)

Description

Test case "&& operator should work" is failing because cmd.exe doesn't return the exit code as expected.

This is what happens with cmd.exe /c:

It works in a cmd.exe session:

I don't know yet how to fix this issue. If anyone has ideas, please help.

Contributor guide