update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10432 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
eb8b3f4e7b
commit
70ecd353cb
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue