Re: Return codes

<[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.