On Friday, 19 February 2021 at 15:39:25 UTC, kdevel wrote:
On Friday, 19 February 2021 at 13:42:46 UTC, Steven
Schveighoffer wrote:
[...]
[...]
Sure.
[...]
As application programmer I don't want to check any error codes.
Thankfully I don't have to in D. There is a nice off-topic
example
from the linux kernel [1] what happens when people do not check
return values [1].
[...]
Fortunately the D runtime /does/ take care and it throws---if
the signal
is ignored beforehand. I filed issue 21649.
[1] <https://lore.kernel.org/patchwork/patch/260181/>
move RLIMIT_NPROC check from set_user() to
do_execve_common()
Perhaps a bit late, but this is how I deal with pipes and
spawnShell.
Read one byte at a time from stdout and stderr:
https://github.com/DannyArends/DaNode/blob/master/danode/process.d
Danny