http://d.puremagic.com/issues/show_bug.cgi?id=6709

           Summary: execvp eats two bytes of its first argument.
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: riverch...@gmail.com


--- Comment #0 from Cheng Wei <riverch...@gmail.com> 2011-09-21 19:44:36 PDT ---
#import�std.process
void�main()�{
����execvp("ip",�"route");
}

result:
Object�"ute"�is�unknown,�try�"ip�help".

That�is�the�first�two�bytes�are�lost

Adding�two�spaces�works:
#import�std.process
void�main()�{
����execvp("ip",�"��route");
}

Version�2.055,�linux,�32bit

Thanks.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to