Sorry for kinda jumping in the middle here, but have you tried fork/exec? It's odd that spawn with NOWAIT isn't giving you what you want, and I'm curious as to whether you can provide more details. In any event, though, fork/exec is a somewhat more verbose way of getting basically the same result. Good luck :)
Austin > > On 5/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > I've spent quite a lot of time trying to simply spawn a new process > > > (by spawn I mean os.P_NOWAIT). The problem is that I cannot manage to > > > get django not to halt after the execution of the process spawning > > > command (the idea is that in views I want to start a background > > > process that is quite time intense). > > > > > I've tried os.spawnl and subprocces.Popen, neither work. Or I'm just > > > too n00b in Python and Django to understand how they should be > > > handled. Perhaps anybody could help me? Pleease? > > > > > Thanks, > > > Ilja > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---