Related to os module
Michael Hudson
mwh21 at cam.ac.uk
Sun Dec 10 13:20:10 EST 2000
Venkatesh Prasad Ranganath <rvprasad at cis.ksu.edu> 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....
Cheers,
M.
--
I'm okay with intellegent buildings, I'm okay with non-sentient
buildings. I have serious reservations about stupid buildings.
-- Dan Sheppard, ucam.chat (from Owen Dunn's summary of the year)
More information about the Python-list
mailing list