From 5fecd18da1235c96fed39278c372981892bb3931 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Fri, 19 Jun 2015 03:38:17 +0200 Subject: [PATCH] Fix pid for spawning now forking is deprecated, but returns are different (vte 0.36 -> 0.38) --- terminatorlib/terminal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 8c45962d..c5ccb791 100755 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -1299,7 +1299,7 @@ class Terminal(Gtk.VBox): envv.append('TERMINATOR_DBUS_PATH=%s' % self.terminator.dbus_path) dbg('Forking shell: "%s" with args: %s' % (shell, args)) - self.pid = self.vte.spawn_sync(Vte.PtyFlags.DEFAULT, + result, self.pid = self.vte.spawn_sync(Vte.PtyFlags.DEFAULT, self.cwd, args, envv,