[issue3177] Add shutil.open

Chris Rebert report at bugs.python.org
Mon Apr 23 20:21:34 CEST 2012

Chris Rebert <pybugs at rebertia.com> added the comment:

The xdg-open source code (http://cgit.freedesktop.org/xdg/xdg-utils/tree/scripts/xdg-open ) shows that exit code 4 is used whenever an invocation of another opener script (e.g. kde-open, gnome-open) fails for any reason besides said script not being installed. So I'm not so sure we can jump to the conclusion that 4 automatically means FileNotFound.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list