Re: django and os.spawnvp method

2008-12-19 Thread Alan
Thanks Karen. Sorry, I got it. I read the conversation you've sent. Pretty interesting and the approach suggested by Russell definitely can work but it will impose others limitations to me. I need to track the PID of the submitted process. I have to think more about how to do it with cron. So, ans

Re: django and os.spawnvp method

2008-12-18 Thread Karen Tracey
On Thu, Dec 18, 2008 at 3:36 AM, Alan wrote: > Thanks Malcom, > I think I was not clear enough. I will try again. > > So I am at the "Submission Page" (submit.html), with a form where I set > some parameters and then I click "submit". This form is linked to action > "run_aria" (run_aria.html) def

Re: django and os.spawnvp method

2008-12-18 Thread Alan
Thanks Malcom, I think I was not clear enough. I will try again. So I am at the "Submission Page" (submit.html), with a form where I set some parameters and then I click "submit". This form is linked to action "run_aria" (run_aria.html) defined in views.py as: def run_aria(request): if not r

Re: django and os.spawnvp method

2008-12-17 Thread Malcolm Tredinnick
On Thu, 2008-12-18 at 00:19 +, Alan wrote: [...] > > So, when calling runAria(), my server doesn't move to return > HttpResponseRedirect('/status'), So which line is it in your code that is not returning? The os.spawnvp() call? I mean, it should be possible, through print statements to wo