Bummer, then I can't use this approach. My "server" uses
reactor.spawnProcess
> which needs the signal handlers to be installed (SIGCHLD specifically) to
> work
> properly... do you know if it can be done without the dual thread trick.
>
>
> ...On windows? I don't think Windows has SIGCHLD.
>
>
Y
On Nov 8, 2009, at 10:54 PM, Brian Granger wrote:
Bummer, then I can't use this approach. My "server" uses
reactor.spawnProcess
which needs the signal handlers to be installed (SIGCHLD
specifically) to work
properly... do you know if it can be done without the dual thread
trick.
...On win
David,
While this process is certainly doable, I'll also point out that on
> Windows, the more "natural" approach to this is to implement the
> process as a service. That also buys you some regular Windows
> approaches to management (net stop/start from command line, services
> UI from the contr
Žiga Seilnacht writes:
> It is possible to daemonize a process on Windows. I experimented with
> adding that support to the twistd script, but got swamped with other
> work and couldn't finish it. Below is the code that I have so far. You
> can save it in a module and call the daemonize() func
Sure, you can find a slightly updated version of the code in the attachment,
licensed under the two clause BSD license and without the syntax error.
Thank you very much for being willing to share this code under the BSD
license. I will try this out and see if it does the job for us.
> It would
Brian Granger wrote:
Fantastic, thanks for sharing this code. I will definitely have a look. If
it turns out to
work for us, would you mind releasing this under a BSD license so we can
include
it in IPython (BSD open source project)? In either case, the ideas will be
very helpful to us.
Cheer
Fantastic, thanks for sharing this code. I will definitely have a look. If
it turns out to
work for us, would you mind releasing this under a BSD license so we can
include
it in IPython (BSD open source project)? In either case, the ideas will be
very helpful to us.
Cheers,
Brian
It is possib
Brian Granger wrote:
> Hi,
>
> I have a server-like process that uses twisted. I need it to daemonize
> itself and on linux/os x I am simply
> using the daemonize function from twistd. This works fine. What about
> Windows thoughI saw that the
> win32 version of twistd doesn't have (unless
On 01:18 am, ellisonbg@gmail.com wrote:
>Hi,
>
>I have a server-like process that uses twisted. I need it to daemonize
>itself and on linux/os x I am simply
>using the daemonize function from twistd. This works fine. What about
>Windows thoughI saw that the
>win32 version of twistd doesn