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);
|
dup2(fd, STDOUT_FILENO);
|
||||||
close(fd);
|
close(fd);
|
||||||
}
|
}
|
||||||
execve(path, argv, NULL);
|
execvp(path, argv);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user