linux: inherit parent env for iron_exec_async
This commit is contained in:
@@ -1555,7 +1555,7 @@ void iron_exec_async(const char *path, char *argv[]) {
|
||||
dup2(fd, STDOUT_FILENO);
|
||||
close(fd);
|
||||
}
|
||||
execve(path, argv, NULL);
|
||||
execvp(path, argv);
|
||||
exit(1);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user