mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-09 21:14:02 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10432 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
+1
-1
@@ -1131,7 +1131,7 @@ static int preprocess_exec(const char *cwd, const char *command, int write_fd, i
|
|||||||
} else { /* child */
|
} else { /* child */
|
||||||
close(fds[0]);
|
close(fds[0]);
|
||||||
dup2(fds[1], STDOUT_FILENO);
|
dup2(fds[1], STDOUT_FILENO);
|
||||||
system(command);
|
switch_system(command, SWITCH_TRUE);
|
||||||
close(fds[1]);
|
close(fds[1]);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user