Re: CGI and long running job

2005-12-03 Thread jmdeschamps
[EMAIL PROTECTED] wrote: Hello, I am using python and CGI to initiate a long running simulation (up to 5h long) on a remote machine. The main idea is that I use a form, enter the parameters and a CGI scripts start the simulation using these parameters. The structure of the script is: 1.

Re: CGI and long running job

2005-12-03 Thread merry . sailor
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Hello, I am using python and CGI to initiate a long running simulation (up to 5h long) on a remote machine. The main idea is that I use a form, enter the parameters and a CGI scripts start the simulation using these parameters. The

Re: CGI and long running job

2005-12-03 Thread Mardy
Le die Fri, 02 Dec 2005 20:35:52 -0800, merry.sailor ha scribite: For step 3 I use either os.system or os.popen(2). The problem is that the web server does not send the information of step 2 back to the browser, unless step 3 is completed. The browser simply waits for a response, without

Re: CGI and long running job

2005-12-03 Thread merry . sailor
Hello Mardy, thanks a lot for your help. I found the problem. Your suggestion made me look into some things I haven't thought before :-). I don't know if it is a browser/server/mine fault. The problem was that I was sending text/plain and a txt file. I soon as I started sending back to the browser

Re: CGI and long running job

2005-12-03 Thread Tim Roberts
[EMAIL PROTECTED] wrote: Hello, I am using python and CGI to initiate a long running simulation (up to 5h long) on a remote machine. The main idea is that I use a form, enter the parameters and a CGI scripts start the simulation using these parameters. The structure of the script is: 1. Read

CGI and long running job

2005-12-02 Thread merry . sailor
Hello, I am using python and CGI to initiate a long running simulation (up to 5h long) on a remote machine. The main idea is that I use a form, enter the parameters and a CGI scripts start the simulation using these parameters. The structure of the script is: 1. Read paremeters 2. Display some