On Monday, 15 May 2017 at 11:33:29 UTC, Jonathan Shamir wrote:
Hey,
This is my first time writing in the D forums!
I have an application written in D that runs as a linux daemon
(some python service script is in charge of running and
daemonizing it).
This "agent" works similar to docker - a s
D runtime is incompatible with fork, enforce and catch won't work
in the child process after fork, stick with betterC style.
OK well, seems like calling _exit() (instead of exit()) did the
trick. Thanks for the help!
This is how I use fork on one of my project
http://gitlab.eurosat.cz/ekj/esatd/raw/master/source/app.d
On Mon, May 15, 2017 at 1:33 PM, Jonathan Shamir via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
> Hey,
>
> This is my first time writing in the D forums!
>
> I have an application writt
Hey,
This is my first time writing in the D forums!
I have an application written in D that runs as a linux daemon
(some python service script is in charge of running and
daemonizing it).
This "agent" works similar to docker - a service that accepts
commands and runs in the background, and st