diff --git a/libobs/util/pipe-posix.c b/libobs/util/pipe-posix.c index cf97d4562..1f5e10725 100644 --- a/libobs/util/pipe-posix.c +++ b/libobs/util/pipe-posix.c @@ -124,7 +124,7 @@ os_process_pipe_t *os_process_pipe_create(const char *cmd_line, const char *type if (!cmd_line) return NULL; - char *argv[3] = {"-c", (char *)cmd_line, NULL}; + char *argv[4] = {"sh", "-c", (char *)cmd_line, NULL}; return os_process_pipe_create_internal("/bin/sh", argv, type); }