Popen3-style os.execl?

Michael Hudson mwh at python.net
Wed May 19 05:58:36 EDT 2004


Chris Green <cmg at dok.org> writes:

> Hey folks,
> 
> I'm whipping up a quick CGI to wrap a command line app and I was a bit
> suprised to not find a execl-like Popen3 style object.  I don't want
> to bother with the shell interpreting metacharaters by constructing a
> command line.
> 
> Basically, I want something that acts just like Popen3 but allows me
> to specify cmd as a path + args.  Does something like this exist in
> the standard library? If not, it sounds like a good candidate...

Um.  Can't you pass a list to the Popen3 constructor?

Cheers,
mwh

-- 
  same software, different verbosity settings (this one goes to
  eleven)                             -- the effbot on the martellibot



More information about the Python-list mailing list