Re: [PythonCE] launch external application from pythonCE

2005-01-15 Thread Isr Gish
AIL PROTECTED]>, "pythonce@python.org" >Subject: Re: [PythonCE] launch external application from pythonCE >On 14 Jan 2005 at 13:25, Geir Egeland wrote: > >> So, this doesn't seem to work... >> Doing a help(os) does not show the 'system'

Re: [PythonCE] launch external application from pythonCE

2005-01-14 Thread Stewart Midwinter
PythonCE supports execvp, but when I try: os.execvp('\\Windows\\iexplore.exe',('',)) I get the following traceback error from binaries\os.py: "cannot import name ENOTDIR" maybe this can be worked around? s On Fri, 14 Jan 2005 10:02:16 -0500, Brad Clements <[EMAIL PROTECTED]> wrote: > On 14 Jan

Re: [PythonCE] launch external application from pythonCE

2005-01-14 Thread Brad Clements
On 14 Jan 2005 at 13:25, Geir Egeland wrote: > So, this doesn't seem to work... > Doing a help(os) does not show the 'system' command under available > functions. > Any other suggestions? I don't think system exists on windows CE. Hmm, even the 4.20 .NET reference doesn't show _exec or _spawn

Re: [PythonCE] launch external application from pythonCE

2005-01-14 Thread Michael Foord
Geir Egeland wrote: Hi, The error message i get using os.system(cmd) is : AttributeError: 'module' object has no attribute 'system' So, this doesn't seem to work... Doing a help(os) does not show the 'system' command under available functions. Any other suggestions? Some of the exec* options are

Re: [PythonCE] launch external application from pythonCE

2005-01-14 Thread Geir Egeland
Hi, The error message i get using os.system(cmd) is : AttributeError: 'module' object has no attribute 'system' So, this doesn't seem to work... Doing a help(os) does not show the 'system' command under available functions. Any other suggestions? regards, geir egeland Ed Blake wrote: Also you may

Re: [PythonCE] launch external application from pythonCE

2005-01-13 Thread Ed Blake
Also you may need to specify the path to the target application as WinCE has no concept of an environment. --- Stewart Midwinter <[EMAIL PROTECTED]> wrote: > Darn, I forgot my PDA at home so I can try this out. My suggestion > would be to see if os.system() is available, and use that. If Pocket

Re: [PythonCE] launch external application from pythonCE

2005-01-13 Thread Stewart Midwinter
Darn, I forgot my PDA at home so I can try this out. My suggestion would be to see if os.system() is available, and use that. If Pocket Internet Explorer's file name is iexplore.exe, do something like the following #import sys, os sys.path.append('\\Program Files\\Python\\Lib') cmd = "iexplore.ex

[PythonCE] launch external application from pythonCE

2005-01-13 Thread Geir Egeland
Hi, How can I launch Internet Explorer from a python program ? regards, geir ___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce