[PythonCE] launch external application from pythonCE

Stewart Midwinter stewart.midwinter at gmail.com
Fri Jan 14 22:56:13 CET 2005


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 <bkc at murkworks.com> wrote:
> 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 as being
> supported in libc.
> 
> You'll have to use CreateProcess()  from win32api  I suppose.
> 
> --
> Brad Clements,                bkc at murkworks.com   (315)268-1000
> http://www.murkworks.com                          (315)268-9812 Fax
> http://www.wecanstopspam.org/                   AOL-IM: BKClements
> 
> _______________________________________________
> PythonCE mailing list
> PythonCE at python.org
> http://mail.python.org/mailman/listinfo/pythonce
> 


-- 
Stewart Midwinter
stewart at midwinter.ca
stewart.midwinter at gmail.com


More information about the PythonCE mailing list