Commit 002d4737 authored by Adriaan de Groot's avatar Adriaan de Groot 💬
Browse files

Use execvp() instead of execvpe()

Nothing here changes environ directly, and we're not interested
in passing a specific custom environment to kwin_wayland, so
don't use the (Linux-only) execvpe() for passing environment.
parent d96eb389
......@@ -59,7 +59,7 @@ pid_t launch_kwin(struct wl_socket *socket, int argc, char **argv)
args[pos++] = NULL;
execvpe("kwin_wayland", args, environ);
execvp("kwin_wayland", args);
free(args);
exit(127); /* if exec fails */
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment