Use a more robust way to self-execute the test binary.
This commit is contained in:
parent
4724f14145
commit
1ef320c329
|
@ -48,7 +48,7 @@ void main(string[] args)
|
||||||
auto procs = new Process[](20);
|
auto procs = new Process[](20);
|
||||||
foreach (i, ref p; procs) {
|
foreach (i, ref p; procs) {
|
||||||
p = eventDriver.processes.spawn(
|
p = eventDriver.processes.spawn(
|
||||||
["./test", targettime.stdTime.to!string],
|
[args[0], targettime.stdTime.to!string],
|
||||||
ProcessStdinFile(ProcessRedirect.inherit),
|
ProcessStdinFile(ProcessRedirect.inherit),
|
||||||
ProcessStdoutFile(ProcessRedirect.inherit),
|
ProcessStdoutFile(ProcessRedirect.inherit),
|
||||||
ProcessStderrFile(ProcessRedirect.inherit),
|
ProcessStderrFile(ProcessRedirect.inherit),
|
||||||
|
|
Loading…
Reference in a new issue