linux: inherit parent env for iron_exec_async

This commit is contained in:
luboslenco
2026-07-28 10:50:24 +02:00
parent 7cc119104e
commit 76eb84bc2b
+1 -1
View File
@@ -1555,7 +1555,7 @@ void iron_exec_async(const char *path, char *argv[]) {
dup2(fd, STDOUT_FILENO); dup2(fd, STDOUT_FILENO);
close(fd); close(fd);
} }
execve(path, argv, NULL); execvp(path, argv);
exit(1); exit(1);
} }
else { else {