git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10432 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-11-17 22:03:49 +00:00
parent eb8b3f4e7b
commit 70ecd353cb
1 changed files with 1 additions and 1 deletions

View File

@ -1131,7 +1131,7 @@ static int preprocess_exec(const char *cwd, const char *command, int write_fd, i
} else { /* child */
close(fds[0]);
dup2(fds[1], STDOUT_FILENO);
system(command);
switch_system(command, SWITCH_TRUE);
close(fds[1]);
exit(0);
}