Possible runtime bug in preprocessing of command line arguments passed to the D main

Basile B. b2.temp at gmx.com
Sun Oct 24 14:25:14 UTC 2021

On Sunday, 24 October 2021 at 14:21:52 UTC, Basile B. wrote:
> The following code, on linux
> [...]
> What do you think ?

Forgot to say that this change

- execv("a", null);
+ execv("a", ["whatever".ptr].ptr);

makes the problem goes away, so it would be caused by how `null` 
args are handled, presumably.

More information about the Digitalmars-d-learn mailing list