[gnome-builder] libide/foundry: make sure clean commands connect to PTY



commit c3953e5e3c8235cc676cac5d99e551000cd80276
Author: Christian Hergert <chergert redhat com>
Date:   Wed Sep 28 21:03:54 2022 -0700

    libide/foundry: make sure clean commands connect to PTY

 src/libide/foundry/ide-pipeline-stage-command.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libide/foundry/ide-pipeline-stage-command.c b/src/libide/foundry/ide-pipeline-stage-command.c
index 60d8e47e1..29f8145fc 100644
--- a/src/libide/foundry/ide-pipeline-stage-command.c
+++ b/src/libide/foundry/ide-pipeline-stage-command.c
@@ -186,6 +186,8 @@ ide_pipeline_stage_command_clean_async (IdePipelineStage    *stage,
 
   run_context = ide_pipeline_create_run_context (pipeline, priv->clean_command);
 
+  _ide_pipeline_attach_pty_to_run_context (pipeline, run_context);
+
   if (!(subprocess = ide_run_context_spawn (run_context, &error)))
     {
       ide_task_return_error (task, g_steal_pointer (&error));


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