Author vinay.sajip
Recipients pcdinh, vinay.sajip
Date 2011-02-10.08:37:33
SpamBayes Score 2.67105e-06
Marked as misclassified No
Message-id <>
I don't believe that the problem is about threads vs. processes. In the following gist:

I modified the script so that the main process uses a listener thread, rather than a listener process, to collect the logs. (Basically, I changed multiprocessing.Process to threading.Thread, changed the name of the function to listener_thread from listener_process, added an import for threading and updated the comments. No other changes were made.)

The script in the above gist runs fine on Linux Mint Debian and Windows 7 (Python 2.6 in both cases). Please run it on Snow Leopard and report your findings.
Date User Action Args
2011-02-10 08:37:34vinay.sajipsetrecipients: + vinay.sajip, pcdinh
2011-02-10 08:37:34vinay.sajipsetmessageid: <>
2011-02-10 08:37:33vinay.sajiplinkissue11158 messages
2011-02-10 08:37:33vinay.sajipcreate