Exitcode is 0 when killing a cygwin initiated process via taskmanager

- lopiuh@googlemail.com
Tue Dec 23 11:09:00 GMT 2014

>> Using Taskmanager is brute force as cygwin dll can not act and correctly manage the exitcode


thanks, but I do not agree. One element of the script was killed, not
the hoöe script. It should be more robust. What I do now is: Read
stdout of the program (rsync) and only if I got the right footer of
rsync I rely on exitcode 0.

That is insane.

Is it possible to kill the process of a script element in GNU and
having a returncode of 0 and a continuing script? If yes we can't use
returncodes at all anymore in shell scripts?

Thanks lopiuh

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list