Menu

#9 Exit code -1 executes command twice

v0.1
wont-fix
win-bash (11)
5
2016-11-18
2010-06-21
dante76
No

test.bat:

echo StartTestBat
exit -1

Win-Bash will executes this script twice.
quick "fix" in nt_vc.c:
GetExitCodeProcess(pi.hProcess, &pid);
+ if(pid==-1)pid=-999;

Discussion

  • Christian V. J. Bruessow

    • status: open --> wont-fix
    • Group: --> v0.1
     
  • Christian V. J. Bruessow

    Win-bash is no longer under active development. So I am sorry, but we have to close this as a wont-fix.

     

Log in to post a comment.