Question

Is it possible for CGI to be used to trigger an application with a windowing.

Here is my workflow for details: I am sending a post request to a script in my cgi-bin folder. It is successfully responding to all my post requests and data is being successfully returned. Now this is what I am doing in a part of that script.

subprocess.call("python app.py", shell=True)
print 'Done'

When I locally use my python script, this works well (it is supposed to output a video). I am using openGL to render this video and my current limitation is that for the video rendering to happen, the window must be created (I have done that using Qt framework for python).

I have set chmod 777 permissions to the cgi-bin directory, so that there are no write restrictions. I believe the issue is that it has not been possible to create the window using CGI call.

Is there any way possible to do that? Or any other alternative way to render this video?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top