subprocess returncode windows

Duncan Booth duncan.booth at invalid.invalid
Sat Feb 7 05:01:28 EST 2009


Andrew <andrew.replogle at 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 changes made after ENDLOCAL has been issued are
not local to the batch file; the previous settings are not
restored on termination of the batch file.

ENDLOCAL

If Command Extensions are enabled ENDLOCAL changes as follows:

If the corresponding SETLOCAL enable or disabled command extensions
using the new ENABLEEXTENSIONS or DISABLEEXTENSIONS options, then
after the ENDLOCAL, the enabled/disabled state of command extensions
will be restored to what it was prior to the matching SETLOCAL
command execution.



More information about the Python-list mailing list