On 11/25/19 3:55 AM, aliak wrote:
On Sunday, 24 November 2019 at 17:04:49 UTC, Steven Schveighoffer wrote:
On 11/24/19 10:44 AM, aliak wrote:
[...]
Hm.. are you sure that ctrl-c isn't also sending the signal to your
child process? I thought it did.
Yesh, you're right. That extra kill is
On Sunday, 24 November 2019 at 17:04:49 UTC, Steven Schveighoffer
wrote:
On 11/24/19 10:44 AM, aliak wrote:
[...]
Hm.. are you sure that ctrl-c isn't also sending the signal to
your child process? I thought it did.
-Steve
Yesh, you're right. That extra kill is unnecessary and was
actuall
On Sunday, 24 November 2019 at 16:05:14 UTC, mipri wrote:
On Sunday, 24 November 2019 at 15:44:00 UTC, aliak wrote:
[...]
This might be useful:
---
#! /usr/bin/env rdmd
import std;
import core.stdc.signal;
[...]
waitpid, of course! Thanks agin :)
On 11/24/19 10:44 AM, aliak wrote:
I'm writing some command line tooling stuff, and one of the command
spins up a docker compose file (which in short, spins up some services
and aggregates the output of each service to stdout).
When a user presses ctrl+c, i would like to pass on the ctrl+c to
On Sunday, 24 November 2019 at 15:44:00 UTC, aliak wrote:
I'm writing some command line tooling stuff, and one of the
command spins up a docker compose file (which in short, spins
up some services and aggregates the output of each service to
stdout).
When a user presses ctrl+c, i would like t
I'm writing some command line tooling stuff, and one of the
command spins up a docker compose file (which in short, spins up
some services and aggregates the output of each service to
stdout).
When a user presses ctrl+c, i would like to pass on the ctrl+c to
the spawned process and wait till