title: Using CGI to trigger applications
body: <p>Is it possible for CGI to be used to trigger an application with a windowing.</p>
  
  <p>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.</p>
  
  <pre><code>subprocess.call("python app.py", shell=True)
  print 'Done'
  </code></pre>
  
  <p>When I locally use my python script, this works well (it is supposed to output a video). I am using <code>openGL</code> 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 <code>Qt framework for python</code>).</p>
  
  <p>I have set <code>chmod 777</code> 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.</p>
  
  <p>Is there any way possible to do that? Or any other alternative way to render this video?</p>