Revert "Merge pull request #208 from mattrose/update-vte-spawn"
This reverts commitf5cbdce5fc
, reversing changes made toe1476a2ef2
.
This commit is contained in:
parent
41caaabdf3
commit
a44ebd9e2e
|
@ -1489,18 +1489,14 @@ class Terminal(Gtk.VBox):
|
||||||
|
|
||||||
dbg('Forking shell: "%s" with args: %s' % (shell, args))
|
dbg('Forking shell: "%s" with args: %s' % (shell, args))
|
||||||
args.insert(0, shell)
|
args.insert(0, shell)
|
||||||
self.pid = self.vte.spawn_async(
|
result, self.pid = self.vte.spawn_sync(Vte.PtyFlags.DEFAULT,
|
||||||
Vte.PtyFlags.DEFAULT,
|
self.cwd,
|
||||||
self.cwd,
|
args,
|
||||||
args,
|
envv,
|
||||||
envv,
|
GLib.SpawnFlags.FILE_AND_ARGV_ZERO | GLib.SpawnFlags.DO_NOT_REAP_CHILD,
|
||||||
GLib.SpawnFlags.FILE_AND_ARGV_ZERO | GLib.SpawnFlags.DO_NOT_REAP_CHILD,
|
None,
|
||||||
None,
|
None,
|
||||||
None,
|
None)
|
||||||
-1,
|
|
||||||
None,
|
|
||||||
None,
|
|
||||||
None)
|
|
||||||
self.command = shell
|
self.command = shell
|
||||||
|
|
||||||
self.titlebar.update()
|
self.titlebar.update()
|
||||||
|
|
Loading…
Reference in New Issue