[python-uk] Here's a little test

Jon Ribbens python-uk@python.org
Wed, 28 Aug 2002 18:36:08 +0100


Chris Miles <chris@psychofx.com> wrote:
> Not sure if you read my post properly, but as I said the first command
> argument is effectively "ignored" (it sets process name).  I
> successfully just did:
> 
> os.execl('C:\Program Files\Internet Explorer\IEXPLORE.EXE', 'iexplore', 'http://www.google.com/')

"ignored" is not the right word. You should duplicate the first
argument as the second, unless you know what you're doing.

(i.e. os.execl(prog, prog, arg1, arg2, ...) )