common: Add GSubprocessFlags to flatpak_spawnv

This is useful to e.g. hide stderr
This commit is contained in:
Alexander Larsson
2017-08-18 10:56:15 +02:00
parent 85ba1f75eb
commit 4e15d9a5f8
6 changed files with 10 additions and 6 deletions

View File

@@ -222,7 +222,7 @@ patch (GFile *dir,
}
g_ptr_array_add (args, NULL);
res = flatpak_spawnv (dir, NULL, error, (const char **) args->pdata);
res = flatpak_spawnv (dir, NULL, 0, error, (const char **) args->pdata);
g_ptr_array_free (args, TRUE);