On 24/10/12 17:14, Michael Schlenker wrote:
> this looks dubious, are you sure you can still react to ServiceManager
Yes.
> actions like 'Stop' or 'Query' this way, isn't this wait() blocking?
AIUI, the "svc" methods are called from various threads?
I didn't create this code; I cribbed it from
Am 24.10.2012 14:14, schrieb Phil Mayers:
> n 24/10/12 12:33, Michael Schlenker wrote:
>> Am 24.10.2012 11:01, schrieb Phil Mayers:
>>> On 10/24/2012 08:43 AM, John Aherne wrote:
>>
>> But what you are talking about is the SetConsoleCtrlHandler function.
>> http://docs.activestate.com/activepython/
n 24/10/12 12:33, Michael Schlenker wrote:
> Am 24.10.2012 11:01, schrieb Phil Mayers:
>> On 10/24/2012 08:43 AM, John Aherne wrote:
>>
>>> I don't have much idea about signalhandlers but I assume the one I am
>>> interested in here is to stop ControlC. The others might need to stay
>>> on. I'm not
Am 24.10.2012 11:01, schrieb Phil Mayers:
> On 10/24/2012 08:43 AM, John Aherne wrote:
>
>> I don't have much idea about signalhandlers but I assume the one I am
>> interested in here is to stop ControlC. The others might need to stay
>> on. I'm not too sure about that without knowing more about w
On 23 October 2012 20:09, Tom Prince wrote:
> As JP said, buildbot has some code for this at
> https://github.com/buildbot/buildbot/blob/master/master/contrib/windows/buildbot_service.py
>
Just in case it might be of any help.
I am using something based on this code:
http://code.activestate.com/
On 10/24/2012 08:43 AM, John Aherne wrote:
> I don't have much idea about signalhandlers but I assume the one I am
> interested in here is to stop ControlC. The others might need to stay
> on. I'm not too sure about that without knowing more about windows
> services and how they react to these sig
On Tue, Oct 23, 2012 at 6:09 PM, Tom Prince wrote:
> As JP said, buildbot has some code for this at
>
> https://github.com/buildbot/buildbot/blob/master/master/contrib/windows/buildbot_service.py
>
--
*John Aherne*
*
*
*
*
*
*
*www.rocs.co.uk
*
020 7223 7567
__
> To start off with, I'll point out that this isn't a supported mode of
> running Twisted (which I'm sure you noticed already :).
>
> This feature has been requested several times and worked on by a couple
> people, but not quite to the point of completion.
>
> Here's a related ticket:
>
> http
As JP said, buildbot has some code for this at
https://github.com/buildbot/buildbot/blob/master/master/contrib/windows/buildbot_service.py
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/
On 08:23 am, johnahe...@rocs.co.uk wrote:
>I have been looking at running some twisted programs as a windows
>service.
>
>So in the end I took a copy of twistd.py and adapted it to load my tac
>file
>and run it as a windows service.
>
>Of course the windows service will run it in a separate threa
I have been looking at running some twisted programs as a windows service.
So in the end I took a copy of twistd.py and adapted it to load my tac file
and run it as a windows service.
Of course the windows service will run it in a separate thread.
I now have it running on XP, 2003 Server Twisted
11 matches
Mail list logo