Message4703

Author pjenvey
Recipients otmarhumbel, pjenvey
Date 2009-05-21.05:43:59
SpamBayes Score 7.575128e-09
Marked as misclassified No
Message-id <1242884654.8.0.712279823795.issue1352@psf.upfronthosting.co.za>
In-reply-to
Content
When running jython.bat via subprocess (e.g. test_subprocess running 
sys.executable), the return code is always 0, even though the .bat does 
an exit /b errorcode. Oddly enough that error code seems to register 
when testing on the command line

According to https://issues.apache.org/jira/browse/GERONIMO-4525
doing cmd /c exit /b errorcode instead "enforces the process exit code". 
I have no idea what this means but it helps test_subprocess

Oti could you review this change? Does it look evil, can we always rely 
on cmd.exe?
History
Date User Action Args
2009-05-21 05:44:15pjenveysetrecipients: + pjenvey, otmarhumbel
2009-05-21 05:44:14pjenveysetmessageid: <1242884654.8.0.712279823795.issue1352@psf.upfronthosting.co.za>
2009-05-21 05:44:13pjenveylinkissue1352 messages
2009-05-21 05:44:13pjenveycreate