September 21, 2011 Is it a bug in execvb (std.process)? | ||||
|---|---|---|---|---|
| ||||
import std.process;
void main() {
execvp("ip", ["route"]);
}
result:
Object "ute" is unknown, try "ip help".
So the first two bytes are lost.
After adding two spaces in the first argument, it works.
import std.process;
void main() {
execvp("ip", [" route"]);
}
dmd 2.055 linux 32bit.
Is this a bug? Can I issue it? Thanks a lot.
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply