diff options
author | Sebastien Estienne <sebastien.estienne@gmail.com> | 2006-08-26 01:17:03 +0000 |
---|---|---|
committer | Sebastien Estienne <sebastien.estienne@gmail.com> | 2006-08-26 01:17:03 +0000 |
commit | 7d7528bdee6c2683ef1fec6496f47d46dd00577c (patch) | |
tree | 1a57acbf92f8b5f05bc2eeea647bcddedcc402ca | |
parent | 9b28593dcb15183b8bc19ea623f32a739f5d9424 (diff) |
fix zombie gnome-terminal
git-svn-id: file:///home/lennart/svn/public/service-discovery-applet/trunk@121 3be567f1-68ff-0310-b24a-ad7cc433fd2f
-rw-r--r-- | plugins/gconfterminal.py.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/gconfterminal.py.in b/plugins/gconfterminal.py.in index 8dbaef8..4330ac1 100644 --- a/plugins/gconfterminal.py.in +++ b/plugins/gconfterminal.py.in @@ -126,7 +126,8 @@ class plugin_gnometerminal: cmdline = terminal.split(" ") cmdline.extend(sshline.split(" ")) print cmdline - subprocess.Popen(cmdline) + pid = subprocess.Popen(cmdline).pid + os.waitpid(pid) def load(): return plugin_gnometerminal() |