summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/gconfterminal.py.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/gconfterminal.py.in b/plugins/gconfterminal.py.in
index 2b9938e..d0074e8 100644
--- a/plugins/gconfterminal.py.in
+++ b/plugins/gconfterminal.py.in
@@ -126,8 +126,7 @@ class plugin_gnometerminal:
cmdline = terminal.split(" ")
cmdline.extend(sshline.split(" "))
print cmdline
- pid = subprocess.Popen(cmdline).pid
- os.waitpid(pid)
+ subprocess.Popen(cmdline).wait()
def load():
return plugin_gnometerminal()