Re: Return codes
| Newsgroups | gmane.comp.lang.jython.devel |
|---|---|
| Message-ID | <[email protected]> |
The return code is returned by the command you pass to popen. On Wed, 16 May 2018 09:49:17 -0400, pr144 via Jython-dev <[email protected]> wrote: > I have this code, > > pipe = subprocess.Popen(command, shell=False, cwd=BatDir) > > out, err = pipe.communicate() > retCode = pipe.wait() > > > It is returning a 7 > > Where can I find a list of return codes and their definitions? ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot