Hi! This works as expected:
string cmd = "dmd src/xyz.d";
int i = system(cmd);
But this not:
string[] cmd;
cmd ~= "src/xyz.d";
int i = execvp("dmd",cmd);
Of course, dmd is in PATH (Win7).
What is wrong here?
tia Peter
Hi! This works as expected:
string cmd = "dmd src/xyz.d";
int i = system(cmd);
But this not:
string[] cmd;
cmd ~= "src/xyz.d";
int i = execvp("dmd",cmd);
Of course, dmd is in PATH (Win7).
What is wrong here?
tia Peter