os.system(cmd) isn't working
hancock at anansispaceworks.com
Thu Jun 23 21:01:48 CEST 2005
On Thursday 23 June 2005 01:19 am, Paul Watson wrote:
> "Gregory Piñero" <gregpinero at gmail.com> wrote in message
> news:mailman.787.1119499378.10512.python-list at python.org...
> os.system(r'"C:\Program Files\Mozilla Firefox\firefox.exe"' + '
> The goal is to have firefox open to that website.
You don't have any spaces between the command and the argument,
I would assume they'd be necessary. I also notice you are quoting
the quotes here, so I presume you actually need them (maybe this is
because you have an embedded space in the filename?).
Need I mention that using filenames with spaces is a great evil? ;-)
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks http://www.anansispaceworks.com
More information about the Python-list