Commit 16584f18 authored by Phaedrus Leeds's avatar Phaedrus Leeds
Browse files

util: Silence stderr of cat command

Without this patch, I see Builder output on the CLI:

cat: /proc/sys/fs/binfmt_misc/qemu-aarch64: No such file or directory
cat: /proc/sys/fs/binfmt_misc/qemu-arm: No such file or directory
parent 7e799eff
......@@ -655,7 +655,8 @@ ide_g_host_file_get_contents (const gchar *path,
g_autoptr(IdeSubprocess) subprocess = NULL;
g_autoptr(GBytes) stdout_buf = NULL;
launcher = ide_subprocess_launcher_new (G_SUBPROCESS_FLAGS_STDOUT_PIPE);
launcher = ide_subprocess_launcher_new (G_SUBPROCESS_FLAGS_STDOUT_PIPE |
ide_subprocess_launcher_set_run_on_host (launcher, TRUE);
ide_subprocess_launcher_push_argv (launcher, "cat");
ide_subprocess_launcher_push_argv (launcher, path);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment