popen[2-4] does not work with parameters inside quotes

Derrick 'dman' Hudson dman at dman13.dyndns.org
Thu Oct 30 17:30:01 EST 2003


Anders Dalvander <google at dalvander.com> wrote:

> cmd = '"c:\\command.exe" "parameter inside quotes"'
> os.popen4(cmd)

> 'c:\\command.exe" "parameter inside quotes' is not recognized as an
> internal or external command, operable program or batch file.

Not surprising.  Pick command.COM or cmd.exe.

-D

-- 
If your life is a hard drive,
Christ can be your backup.
 
www: http://dman13.dyndns.org/~dman/             jabber: dman at dman13.dyndns.org




More information about the Python-list mailing list