With twisted.web works fine...

On Apr 15, 9:21 am, Enrico Carlesso <[email protected]> wrote:
> Hi all guys.
>
> I've got a problem.
>
> I need to launch winvnc.exe (part of UltraVNC) from a mod_wsgi script
> (working with django, but from wsgi does not work either).
>
> The clue is that it seems that I'm not allowed to run graphical
> programs form apache. What I've done is to write a file.bat which logs
> the request on a file and runs the right command:
>
> �...@echo OFF
>
>  echo >> D:\connector_log.txt
>  echo "=======USER = %USERNAME% ===========" >> D:\connector_log.txt
>  date /t >> D:\connector_log.txt
>  time /t >> D:\connector_log.txt
>  "D:\Program Files\UltraVNC\winvnc.exe" -connect  %1 2> D:
> \connector_log1.txt
>  echo "Connecting to %1" >> D:\connector_log.txt
>
> The .bat file is called, the connector_log.txt is populated but no the
> winvnc.exe invocation fails (this means that my vncviewer -listen
> command on my linux box does not receive any input)
>
> Calling the file by hand works just fine on windows machine, as well
> as calling it by subprocess.call() invocation. But from wsgi (even
> with subprocess.call()) it just fails...
>
> Any idea?

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to