On Apr 16, 10:11 am, "[email protected]" <[email protected]> wrote:
> Doesn't subprocess fork()?

Good point. Perhaps it does. But I would trust it better than naive
forking.

> Unless you mean that subprocess would only
> fork once and the separate script would then fork once for each telnet
> connection?
>
> Can I use the threading module from web2py?

It depends. Should be ok if the thread is not passed any DB object.
Anyway, the I think this is the wrong solution to your problem.

the processing module is fine if your other process if very fast. Else
you should use web2py -R or web2py CRON to start a background process
and use the database to send and receive messages between the action
and the background process.

Massimo


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to