diff --git a/gtk2_ardour/system_exec.cc b/gtk2_ardour/system_exec.cc index 55dbc60bb4..59f3647e51 100644 --- a/gtk2_ardour/system_exec.cc +++ b/gtk2_ardour/system_exec.cc @@ -724,10 +724,8 @@ SystemExec::start (int stderr_mode) signal(SIGPIPE, SIG_DFL); #endif -#ifndef __WIN32__ - int good_fds[1] = { 0 }; + int good_fds[1] = { -1 }; close_allv(good_fds); -#endif ::execve(argp[0], argp, envp); /* if we reach here something went wrong.. */