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

2023-06-05 Thread felix . winkelmann
> 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

[PATCH] Pass executed filename to execv[pe] unmodified when calling process-execute

2023-06-03 Thread Evan Hanson
to leave that pathname alone. Cheers, Evan >From 82cd4c9a8fe4434f7db9e2eb9599a470a8442b3e Mon Sep 17 00:00:00 2001 From: Evan Hanson Date: Sun, 4 Jun 2023 00:55:02 +0200 Subject: [PATCH] Pass executed filename to execv[pe] unmodified when calling process-execute Programs created via `process-exec