Fix pid for spawning now forking is deprecated, but returns are different (vte 0.36 -> 0.38)

This commit is contained in:
Stephen Boddy 2015-06-19 03:38:17 +02:00
parent addb3947dd
commit 5fecd18da1
1 changed files with 1 additions and 1 deletions

View File

@ -1299,7 +1299,7 @@ class Terminal(Gtk.VBox):
envv.append('TERMINATOR_DBUS_PATH=%s' % self.terminator.dbus_path) envv.append('TERMINATOR_DBUS_PATH=%s' % self.terminator.dbus_path)
dbg('Forking shell: "%s" with args: %s' % (shell, args)) 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, self.cwd,
args, args,
envv, envv,