[Python-bugs-list] [ python-Bugs-471834 ] Nomenclature in os module, exec*() (original) (raw)

noreply@sourceforge.net noreply@sourceforge.net
Tue, 16 Oct 2001 12:40:45 -0700


Bugs item #471834, was opened at 2001-10-16 12:40 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=471834&group_id=5470

Category: Documentation Group: None Status: Open Resolution: None Priority: 3 Submitted By: Barry Warsaw (bwarsaw) Assigned to: Fred L. Drake, Jr. (fdrake) Summary: Nomenclature in os module, exec*()

Initial Comment: Both Stevens and the Linux manpages make a small but important distinction in the first argument to execvp() and execlp() verses the other exec*() functions. The `p' version takes a file name, which is used in a $PATH search if the argument does not contain a slash. The others take a path argument for which $PATH is not searched.

The documentation for execvp() and execlp() in the os module should mimic this nomenclature. I.e. file' for execvp(), execlp() -- and for good measure, our own hybrid execvpe(). It should be path' for execl(), execv(), execle(), and execve().


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