[Issue 3120] std.process.execv() pass arguments to programm incorrectly
http://d.puremagic.com/issues/show_bug.cgi?id=3120 Masahiro Nakagawa repeate...@gmail.com changed: What|Removed |Added CC||repeate...@gmail.com --- Comment #4 from Masahiro Nakagawa repeate...@gmail.com 2010-05-28 13:36:35 PDT --- This behavior is caused by dmc(I tested on Windows XP). called.c - #include stdio.h int main(int argc, char* argv[]) { int i = 0; for (; i argc; i++) printf(%s , argv[i]); } - caller.c - #include stdlib.h int main() { const char* const argv[] = {a1, a2, a3, NULL}; execv(called.exe, argv); return 0; } - dmc prints called.exe a2 a3 but gcc prints a1 a2 a3. I think expected behavior is gcc result(not called.exe arg1 arg2 arg3). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3120] std.process.execv() pass arguments to programm incorrectly
http://d.puremagic.com/issues/show_bug.cgi?id=3120 --- Comment #1 from Alexey G golovanov_ale...@mail.ru 2009-07-01 04:28:48 PDT --- Created an attachment (id=408) -- (http://d.puremagic.com/issues/attachment.cgi?id=408) caller program using std.process.execv() -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3120] std.process.execv() pass arguments to programm incorrectly
http://d.puremagic.com/issues/show_bug.cgi?id=3120 --- Comment #2 from Alexey G golovanov_ale...@mail.ru 2009-07-01 04:29:33 PDT --- Created an attachment (id=409) -- (http://d.puremagic.com/issues/attachment.cgi?id=409) called programm, received parameters -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---