[gnome-builder] io: set launcher to run on host



commit c528b4a53e908f3cfba6ef81bb7f12fecfdcc696
Author: Christian Hergert <chergert redhat com>
Date:   Thu Sep 9 16:41:57 2021 -0700

    io: set launcher to run on host

 src/libide/io/ide-gfile.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/libide/io/ide-gfile.c b/src/libide/io/ide-gfile.c
index 8f0ccbd83..bb3bc9294 100644
--- a/src/libide/io/ide-gfile.c
+++ b/src/libide/io/ide-gfile.c
@@ -1050,6 +1050,7 @@ _ide_g_file_query_exists_on_host (GFile        *file,
     return g_file_query_exists (file, cancellable);
 
   launcher = ide_subprocess_launcher_new (G_SUBPROCESS_FLAGS_STDOUT_SILENCE | 
G_SUBPROCESS_FLAGS_STDERR_SILENCE);
+  ide_subprocess_launcher_set_run_on_host (launcher, TRUE);
   ide_subprocess_launcher_push_argv (launcher, "ls");
   ide_subprocess_launcher_push_argv (launcher, "-d");
   ide_subprocess_launcher_push_argv (launcher, g_file_peek_path (file));


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