I don't have a full example, but the thread module won't do what you need. You need to spawn an external process to do your job. For this take a look at python's documentation. It's a faily simple thing to do, if you just want to run mencoder on the file,
On 14/03/07, Henrik Lied <[EMAIL PROTECTED]> wrote: > > Hi there! > > I have a model which allows people to upload videos. > In the save-method I run os.system("mencoder *variables"), which > converts the uploaded video to a flash file. > > I don't want the user to have to wait until the conversion is done > before he can go on with his business. I've tried the Thread-module, > but the current job still waits for the background process to finish.. > > Does anyone have a good idea (with a full example) on how I should go > on? :-) > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---