eryksun added the comment:

For what it's worth, an explicit "exit" will set the return code to the last 
error.

    >>> subprocess.call("nonex & exit", shell=True, stderr=subprocess.DEVNULL)  
        
    9009

----------
nosy: +eryksun

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20117>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to