std.process not working in Windows

Jesse Phillips jessekphillips+D at gmail.com
Fri Jan 15 09:45:30 PST 2010


I also tried an call to execv, and just now checked the return status which was -1. So I guess that could be used to say, "Sorry this program doesn't work," but I'd like to be able to actually make these calls. I should try std.c.system shouldn't I?

import std.process;
import std.stdio;

void main() {
	auto args = ["hello world"];
	writeln(execv("echo", args));
}


More information about the Digitalmars-d-learn mailing list