[ python-Bugs-952953 ] execve rejects empty argument list

SourceForge.net noreply at sourceforge.net
Sat Aug 7 23:48:08 CEST 2004


Bugs item #952953, was opened at 2004-05-13 01:54
Message generated for change (Comment added) made by mwh
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.

----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2004-08-07 22:48

Message:
Logged In: YES 
user_id=6656

I think you'll need to supply a patch to have any hope of
this changing.

----------------------------------------------------------------------

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