Re: portable way of sending notifying a process

2011-05-30 Thread News123
Thanks for all your feedback. Well, I'll play a little and go either for a wrapper around ways to detecth a file change or for a tiny socket solution. Thanks again. On 05/30/2011 04:03 AM, Chris Angelico wrote: > On Mon, May 30, 2011 at 11:44 AM, Chris Torek wrote: >>> What would be a light w

Re: portable way of sending notifying a process

2011-05-29 Thread Chris Angelico
On Mon, May 30, 2011 at 11:44 AM, Chris Torek wrote: >>What would be a light weight portable way, that one process can tell >>another to do something? >> >>The main requirement would be to have no CPU impact while waiting (thus >>no polling) > > Your best bet here is probably to use sockets.  Both

Re: portable way of sending notifying a process

2011-05-29 Thread Chris Torek
In article <4de183e7$0$26108$426a7...@news.free.fr> News123 wrote: >I'm looking for a portable way (windows XP / Windows Vista and Linux ) >to send a signal from any python script to another one >(one signa would be enough) This turns out to be pretty hard to do reliably-and-securely even *witho

portable way of sending notifying a process

2011-05-28 Thread News123
Hi, I'm looking for a portable way (windows XP / Windows Vista and Linux ) to send a signal from any python script to another one (one signa would be enough) I have several python scripts started from different parent processes occasionally some of the scripts want to tell another to reread it'