On 11/6/16 11:05 AM, Konstantin Kutsevalov wrote:
On Saturday, 5 November 2016 at 07:52:53 UTC, Basile B. wrote:
On Saturday, 5 November 2016 at 06:17:51 UTC, Basile B. wrote:
3rd option, from my Windows times I remember that people tend to use
launchers
to handle the real application, i.e a pro
On Saturday, 5 November 2016 at 06:17:51 UTC, Basile B. wrote:
On Saturday, 5 November 2016 at 02:24:00 UTC, Konstantin
Kutsevalov wrote:
Hi,
is there a way to catch system signal of "kill" command or
"shutdown"?
During the Run-time:
You can register a signal callback,
On Sunday, 6 November 2016 at 16:05:44 UTC, Konstantin Kutsevalov
wrote:
On Saturday, 5 November 2016 at 07:52:53 UTC, Basile B. wrote:
On Saturday, 5 November 2016 at 06:17:51 UTC, Basile B. wrote:
3rd option, from my Windows times I remember that people tend
to use launchers
to handle the rea
On Saturday, 5 November 2016 at 07:52:53 UTC, Basile B. wrote:
On Saturday, 5 November 2016 at 06:17:51 UTC, Basile B. wrote:
3rd option, from my Windows times I remember that people tend
to use launchers
to handle the real application, i.e a process that launches the
main process. Then the lau
On Saturday, 5 November 2016 at 06:17:51 UTC, Basile B. wrote:
On Saturday, 5 November 2016 at 02:24:00 UTC, Konstantin
Kutsevalov wrote:
Hi,
is there a way to catch system signal of "kill" command or
"shutdown"?
During the Run-time:
You can register a signal callback,
On Saturday, 5 November 2016 at 02:24:00 UTC, Konstantin
Kutsevalov wrote:
Hi,
is there a way to catch system signal of "kill" command or
"shutdown"?
During the Run-time:
You can register a signal callback, like in this sample (hit
CTRL+C once running in a terminal):
On Saturday, 5 November 2016 at 02:24:00 UTC, Konstantin
Kutsevalov wrote:
Hi,
is there a way to catch system signal of "kill" command or
"shutdown"?
PS: are there some other ways also to send signals to running a
D application?
have a look in std.process
I don't think you can catch kill.
Hi,
is there a way to catch system signal of "kill" command or
"shutdown"?
PS: are there some other ways also to send signals to running a D
application?