[gnome-builder] terminal: we only need STDOUT from the subprocess



commit 9115cd6b24002a14107f4549d0cb128ebd193da3
Author: Christian Hergert <chergert redhat com>
Date:   Fri Sep 16 13:01:20 2016 -0700

    terminal: we only need STDOUT from the subprocess

 plugins/terminal/gb-terminal-view.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/plugins/terminal/gb-terminal-view.c b/plugins/terminal/gb-terminal-view.c
index 04d972d..29864e5 100644
--- a/plugins/terminal/gb-terminal-view.c
+++ b/plugins/terminal/gb-terminal-view.c
@@ -94,9 +94,7 @@ gb_terminal_view_discover_shell (GCancellable  *cancellable,
   if (!g_shell_parse_argv (command, NULL, &argv, error))
     return NULL;
 
-  launcher = ide_subprocess_launcher_new (G_SUBPROCESS_FLAGS_STDOUT_PIPE |
-                                          G_SUBPROCESS_FLAGS_STDIN_PIPE |
-                                          G_SUBPROCESS_FLAGS_STDERR_PIPE);
+  launcher = ide_subprocess_launcher_new (G_SUBPROCESS_FLAGS_STDOUT_PIPE);
   ide_subprocess_launcher_set_run_on_host (launcher, TRUE);
   ide_subprocess_launcher_set_clear_env (launcher, FALSE);
   ide_subprocess_launcher_set_cwd (launcher, g_get_home_dir ());


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]