diff options
author | Robin Gareus <robin@gareus.org> | 2014-02-25 09:38:14 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-02-25 14:57:57 +0100 |
commit | cfa94aecccdcc30204af5a9a24400c0bf5c6b45a (patch) | |
tree | 10a9e72fecdebcadbfadca6326b84f25e33a7157 /libs/pbd/system_exec.cc | |
parent | e2adf46e0ff8174410ba5b14a1d6aed8c5c8faf1 (diff) |
fix system-exec (wait for app to start)
Diffstat (limited to 'libs/pbd/system_exec.cc')
-rw-r--r-- | libs/pbd/system_exec.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/system_exec.cc b/libs/pbd/system_exec.cc index 38f86a04ad..c3c0ace2d6 100644 --- a/libs/pbd/system_exec.cc +++ b/libs/pbd/system_exec.cc @@ -728,7 +728,7 @@ SystemExec::start (int stderr_mode) signal(SIGPIPE, SIG_DFL); #endif - int good_fds[1] = { -1 }; + int good_fds[2] = { pok[1], -1 }; close_allv(good_fds); ::execve(argp[0], argp, envp); |