Related to os module

Michael Hudson mwh21 at
Sun Dec 10 13:20:10 EST 2000

Venkatesh Prasad Ranganath <rvprasad at> writes:

> Hi,
> Following is the code in question
> >>>import os
> >>>os.execv("/bin/ls", ["-l"])

Try os.execv("/bin/ls", ["ls","-l"]), or alternatively reading section
6.1.5 of the library reference....


  I'm okay with intellegent buildings, I'm okay with non-sentient
  buildings. I have serious reservations about stupid buildings.
     -- Dan Sheppard, (from Owen Dunn's summary of the year)

More information about the Python-list mailing list