Revert "Merge pull request #208 from mattrose/update-vte-spawn"

This reverts commit f5cbdce5fc, reversing
changes made to e1476a2ef2.
This commit is contained in:
Matt Rose 2020-09-27 09:41:02 -04:00
parent 41caaabdf3
commit a44ebd9e2e
1 changed files with 8 additions and 12 deletions

View File

@ -1489,17 +1489,13 @@ class Terminal(Gtk.VBox):
dbg('Forking shell: "%s" with args: %s' % (shell, args))
args.insert(0, shell)
self.pid = self.vte.spawn_async(
Vte.PtyFlags.DEFAULT,
result, self.pid = self.vte.spawn_sync(Vte.PtyFlags.DEFAULT,
self.cwd,
args,
envv,
GLib.SpawnFlags.FILE_AND_ARGV_ZERO | GLib.SpawnFlags.DO_NOT_REAP_CHILD,
None,
None,
-1,
None,
None,
None)
self.command = shell