E
elrondrules
hi
i have a html as follows:
<form action="/cgi-bin/hello.py" method="get">
<input type="submit" value="Run Test">
</form>
my hello.py is as follows
<snip>
import os
os.system ("export DISPLAY=10.0.1.1:0.0")
os.system ("./Test &") #Testtool opens a new window
<snip>
What I expected this to do was once I click "Run Test" it should run
the hello.py script and open a new window for the Test application.
both the hello.py and the test application are in the cgi-bin
directory
If I run the hello.py in the command line it works fine but not
through the html...
Any idea as to whats missing..
Thanks
i have a html as follows:
<form action="/cgi-bin/hello.py" method="get">
<input type="submit" value="Run Test">
</form>
my hello.py is as follows
<snip>
import os
os.system ("export DISPLAY=10.0.1.1:0.0")
os.system ("./Test &") #Testtool opens a new window
<snip>
What I expected this to do was once I click "Run Test" it should run
the hello.py script and open a new window for the Test application.
both the hello.py and the test application are in the cgi-bin
directory
If I run the hello.py in the command line it works fine but not
through the html...
Any idea as to whats missing..
Thanks