www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - 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.
Sep 20 2011