I used subprocess.call but I had the following message:

Could not import process : (-2147217405, 'OLE error 0x80041003', None, None)
        
 I added this code to my process:

 cmd = 'idlde.exe -minimized -nodemowarn -noconfirmexit -nosplash 
@C:\SAMIR\soil.run'
retval = subprocess.call(cmd, 0, None, None)

And I run it with:

http://localhost/wps/wps.py?version=1.0.0&service=Wps&request=Execute&Identifier=soil_process

but it does not works

thanks for help


--- En date de : Ven 24.4.09, Tim Roberts <t...@probo.com> a écrit :

De: Tim Roberts <t...@probo.com>
Objet: Re: [python-win32] activate an opened window through the server
À: "python-win32" <python-win32@python.org>
Date: Vendredi 24 Avril 2009, 1h34

belaqziz salwa wrote:
> yes my IDL script produces an image file, i want just execute this
> progmam, and not to send an HTML image. how can i do that ?
>

You'll have to dig into PyWPS for the details, but I think your PyWPS
script just needs to run idlde.exe as a separate process, using that
command you already showed.  You can use subprocess.call to run that
command and wait for the result.

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32



      
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to