Darin Petkov | f7897bc | 2011-06-08 17:13:36 -0700 | [diff] [blame^] | 1 | // Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "shill/glib.h" |
| 6 | |
| 7 | namespace shill { |
| 8 | |
| 9 | gboolean GLib::SpawnAsync(const gchar *working_directory, |
| 10 | gchar **argv, |
| 11 | gchar **envp, |
| 12 | GSpawnFlags flags, |
| 13 | GSpawnChildSetupFunc child_setup, |
| 14 | gpointer user_data, |
| 15 | GPid *child_pid, |
| 16 | GError **error) { |
| 17 | return g_spawn_async(working_directory, |
| 18 | argv, |
| 19 | envp, |
| 20 | flags, |
| 21 | child_setup, |
| 22 | user_data, |
| 23 | child_pid, |
| 24 | error); |
| 25 | } |
| 26 | |
| 27 | } // namespace shill |