gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUNET_OS_start_process and process arguments


From: Alessio Vanni
Subject: Re: GNUNET_OS_start_process and process arguments
Date: Sun, 13 Dec 2020 17:09:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Christian Grothoff <grothoff@gnunet.org> writes:

> That's intentional. Same as with 'exec'. First argument is the file
> name/path to the binary, and argv[0] is separate. See 'exec'. In
> general, simply pass the binary name twice.
>
> -Christian

Thank you for the explanation.

Since the documentation simply says "start a process", I thought the
argv[0] was implicitly set by the function like some other higher-level
libraries/languages do.

It's fine if it mimics exec, I was just surprised by this.

Thanks,
A.V.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]