[ python-Bugs-845342 ] os.exec* and first 'arg'

SourceForge.net noreply at sourceforge.net
Wed Nov 19 14:30:33 EST 2003


Bugs item #845342, was opened at 2003-11-19 19:30
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=845342&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Alexander Schmolck (aschmolck)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.exec* and first 'arg'

Initial Comment:
The current 

I'd suggest the following change to the docstrings for
the exec* functions, because I think it's quite easy to
get bitten:

execv(...)
    execv(path, args)
    
    Execute an executable path with arguments,
replacing current process.
    
            path: path of executable file
            args: tuple or list of strings (NOTE: the
first argument is
                     analoguous to sys.argv[0], *not*
sys.argv[1]!)

instead of:

execv(...)
    execv(path, args)
    
    Execute an executable path with arguments,
replacing current process.
    
            path: path of executable file
            args: tuple or list of strings



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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=845342&group_id=5470



More information about the Python-bugs-list mailing list