Use a more robust way to self-execute the test binary.

This commit is contained in:
Sönke Ludwig 2019-08-22 09:40:21 +02:00 committed by Sönke Ludwig
parent 4724f14145
commit 1ef320c329

View file

@ -48,7 +48,7 @@ void main(string[] args)
auto procs = new Process[](20);
foreach (i, ref p; procs) {
p = eventDriver.processes.spawn(
["./test", targettime.stdTime.to!string],
[args[0], targettime.stdTime.to!string],
ProcessStdinFile(ProcessRedirect.inherit),
ProcessStdoutFile(ProcessRedirect.inherit),
ProcessStderrFile(ProcessRedirect.inherit),