diff --git a/src/switch_xml.c b/src/switch_xml.c index cb15a5cb07..268312cb8a 100644 --- a/src/switch_xml.c +++ b/src/switch_xml.c @@ -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); }