Is this a bug in execvp of std.process

Jonathan M Davis jmdavisProg at gmx.com
Thu Sep 22 00:25:24 PDT 2011


On Thursday, September 22, 2011 02:40:32 Cheng Wei wrote:
> == Repost the article of Cheng Wei (rivercheng at gmail.com)
> == Posted at 2011/09/21 00:30 to digitalmars.D.learn
> 
> #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.

Please do not post to this list. It's not intended for sending messages to. 
You sign up for it if you want to receive all of the messages from bugzilla. 
You're not going to get a useful response here.

- Jonathan M Davis


More information about the Digitalmars-d-bugs mailing list