Using multiprocessing from a Windows service

Volodymyr Orlenko orlenko at gmail.com
Fri Feb 6 02:11:02 EST 2009



On 05/02/2009 9:54 PM, James Mills wrote:
> On Fri, Feb 6, 2009 at 3:21 PM, Volodymyr Orlenko <orlenko at gmail.com> wrote:
>   
>> [...] Maybe there's another
>> way to fix the forking module?
>>     
>
> I believe the best way to fix this is to fix the underlying
> issue that Mark has pointed out (monkey-patching mp won't do).
>
>   
But according to Mark's second message in this thread, there's no way to 
make pythonservice.exe set its sys.argv[0] to a python module -- it uses 
sys.argv for debug parameters in debug mode, and for custom service 
parameters in normal mode.



More information about the Python-list mailing list