Re: sh.exe returns incorrect exit code

2014-02-03 Thread Tom Honermann
On 02/03/2014 12:13 PM, Tom Honermann wrote: $ cat doit.sh #!/bin/sh while [ 1 ]; do make || { echo "make failed unexpectedly" break } done $ cat Makefile all: cl.exe /c t.cpp || (shopt -s nullglob && rm -f t.obj; exit 1) $ cat t.cpp int i; I've been running five cop

Re: sh.exe returns incorrect exit code

2014-02-03 Thread Tom Honermann
On 01/31/2014 03:11 PM, Darrel Laursen wrote: Hey Darrel! Nice to see you popping up here! Below is the relevant process tree. make.exe (PID=77256) launches sh.exe -c "pscl.exe . || (shopt -s nullglob && rm -f xxx.obj; exit 1)" +--- sh.exe (PID=94584) launches sh.exe +--- sh.exe (PID=