[ python-Bugs-952953 ] execve rejects empty argument list
SourceForge.net
noreply at sourceforge.net
Wed May 12 20:54:44 EDT 2004
Bugs item #952953, was opened at 2004-05-13 00:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=952953&group_id=5470
Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: newsham (newsham)
Assigned to: Nobody/Anonymous (nobody)
Summary: execve rejects empty argument list
Initial Comment:
The exec* family of calls in the os package does
not allow an empty list of arguments to be passed
in. Passing is an empty list (ie. allow argv[0] to
be NULL and argc to be zero) is rarely desired, but
perfectly legal.
Verify by:
import os
os.execve("/bin/ls", [], {})
Tim N.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=952953&group_id=5470
More information about the Python-bugs-list
mailing list