projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a3a8fc
)
close stdin as first attempt to terminate process cleanly.
author
Robin Gareus
<robin@gareus.org>
Sun, 20 Apr 2014 21:02:32 +0000
(23:02 +0200)
committer
Robin Gareus
<robin@gareus.org>
Sun, 20 Apr 2014 21:02:32 +0000
(23:02 +0200)
libs/pbd/system_exec.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/system_exec.cc
b/libs/pbd/system_exec.cc
index 98324039a6cf3c9fb6a3d6419c4fdb5c7120572b..0102323505cf651336b2900987ef09e3868fc9f3 100644
(file)
--- a/
libs/pbd/system_exec.cc
+++ b/
libs/pbd/system_exec.cc
@@
-297,6
+297,9
@@
void
SystemExec::terminate ()
{
::pthread_mutex_lock(&write_lock);
+
+ close_stdin();
+
if (pid) {
/* terminate */
EnumWindows(my_terminateApp, (LPARAM)pid->dwProcessId);