On Tuesday, 27 October 2020 at 19:30:06 UTC, Ferhat Kurtulmuş wrote:
On Tuesday, 27 October 2020 at 19:23:22 UTC, Ferhat Kurtulmuş wrote:
On Tuesday, 27 October 2020 at 15:16:33 UTC, Marcone wrote:
[...]

IMHO, your d program cannot have direct control over a spawned process. However, I suggest a road map for you, although I am not sure if it works.

[...]

Ohh, spawnShell returns a pid, so you don't need to use expect actually [1]

1: https://dlang.org/library/std/process/pid.process_id.html

There is also this: https://dlang.org/library/std/process/kill.html

Reply via email to