Fix pid for spawning now forking is deprecated, but returns are different (vte 0.36 -> 0.38)
This commit is contained in:
parent
addb3947dd
commit
5fecd18da1
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue