STINNER Victor added the comment: I wnated to say that args[0] is not the right filename if exec() was not called. Yes, there is also cwd for example. The logic to choose the filename should be done in the child.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22536> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com