chicken-hackers
[Top][All Lists]
Advanced

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

Re: [PATCH] Pass executed filename to execv[pe] unmodified when calling


From: felix . winkelmann
Subject: Re: [PATCH] Pass executed filename to execv[pe] unmodified when calling process-execute
Date: Mon, 05 Jun 2023 15:10:01 +0200

> Hi there,
>
> Earlier today I went in circles trying to figure out why a child process
> was only getting the basename of the executable in argv[0], rather than
> the pathname I was passing.
>
> Turns out we do that when building the arguments to execvp, but I don't
> think it's ideal, so here's a patch to leave that pathname alone.

Thanks! pushed.


felix




reply via email to

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