How to wait for a shell process to finish on ctrl+c before exiting?

aliak something at something.com
Mon Nov 25 08:54:11 UTC 2019


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 :)


More information about the Digitalmars-d-learn mailing list