This is a discussion on CGI+execute external program+Apache serveur within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hello :) My configuration: Windows XP, Apache server, Cgi Script in PYTHON , CM synergy (an external program) 1) I want to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello :)
My configuration: Windows XP, Apache server, Cgi Script in PYTHON , CM synergy (an external program) 1) I want to start an external program in my python script... It works when i execute it manually (double click) and the external program window appear. but when i call it from the server (http://localhors/cgi-bin/extract_source.py) it goes VERY slowly..... and failed (=>The page cannot be displayed) here the program: cmd= "\\\\path\\ccm start" sys.stdin.flush() sys.stdout.flush() sys.stderr.flush() stdin, stdout, stderr = os.popen3(cmd) # it only execute the cmd commande sys.stdin.flush() sys.stdout.flush() sys.stderr.flush() 2) Showing that it failed, i have tried another approch: starting manually the external program (and open his windows) then call interactive command with the external program through the script. BUT When i start the program (CM synergy) manually... and then want to execute commande with my script (like "check out") it shows this message "Session not found, please run "ccm start" command" :) thanks for reading, thanks for your help..i'm desesperate! Tachi |