Re: subprocess returncode windows

2009-02-07 Thread Duncan Booth
Andrew andrew.replo...@gmail.com wrote: As well as not using that and removing endlocal which I admit I have no clue what that does. Python isn't the only system in the world to include a help command. C:\help endlocal Ends localization of environment changes in a batch file. Environment

Re: subprocess returncode windows

2009-02-06 Thread Andrew
On Feb 5, 9:17 pm, Gabriel Genellina gagsl-...@yahoo.com.ar wrote: En Thu, 05 Feb 2009 17:34:29 -0200, Andrew andrew.replo...@gmail.com   escribió: On Dec 16 2008, 5:11 pm, Gabriel Genellina gagsl-...@yahoo.com.ar wrote: En Tue, 16 Dec 2008 17:21:35 -0200, Andrew

Re: subprocess returncode windows

2009-02-05 Thread Andrew
On Dec 16 2008, 5:11 pm, Gabriel Genellina gagsl-...@yahoo.com.ar wrote: En Tue, 16 Dec 2008 17:21:35 -0200, Andrew andrew.replo...@gmail.com   escribió: On Dec 16, 12:50 pm, Christian Heimes li...@cheimes.de wrote: Andrew schrieb: I'm running into a strange situation with getting

Re: subprocess returncode windows

2009-02-05 Thread Mark Hammond
On 6/02/2009 6:34 AM, Andrew wrote: Notice how python never gets the correct returncode from asadmin.bat but I can get the correct returncode from the shell every time. Can anyone tell me why Python wouldn't be able to get the correct returncode for asadmin? I think the problem will be that

Re: subprocess returncode windows

2009-02-05 Thread Gabriel Genellina
En Thu, 05 Feb 2009 17:34:29 -0200, Andrew andrew.replo...@gmail.com escribió: On Dec 16 2008, 5:11 pm, Gabriel Genellina gagsl-...@yahoo.com.ar wrote: En Tue, 16 Dec 2008 17:21:35 -0200, Andrew andrew.replo...@gmail.com   escribió: On Dec 16, 12:50 pm, Christian Heimes li...@cheimes.de

Re: subprocess returncode windows

2008-12-16 Thread Christian Heimes
Andrew schrieb: Hello, I'm running into a strange situation with getting incorrect returncodes / exit status from python subprocess.call. I'm using a python script (runtime 2.6.1 on windows) to automate the deploy of java applications to glassfish application server. Below is an example of

Re: subprocess returncode windows

2008-12-16 Thread Andrew
On Dec 16, 12:50 pm, Christian Heimes li...@cheimes.de wrote: Andrew schrieb: Hello, I'm running into a strange situation with getting incorrect returncodes / exit status from python subprocess.call. I'm using a python script (runtime 2.6.1 on windows) to automate the deploy of java

Re: subprocess returncode windows

2008-12-16 Thread Gabriel Genellina
En Tue, 16 Dec 2008 17:21:35 -0200, Andrew andrew.replo...@gmail.com escribió: On Dec 16, 12:50 pm, Christian Heimes li...@cheimes.de wrote: Andrew schrieb: I'm running into a strange situation with getting incorrect returncodes / exit status from python subprocess.call. I'm using a python