mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 22:03:29 +02:00
support G_SPAWN_FILE_AND_ARGV_ZERO specifying that the vector passed in to
2001-06-08 Havoc Pennington <hp@redhat.com> * gspawn.c: support G_SPAWN_FILE_AND_ARGV_ZERO specifying that the vector passed in to g_spawn_* contains a filename to execute in argv[0] then the actual argv begins at argv + 1. Kind of a lame hack, but this isn't something you commonly want to do, and avoids adding more function arguments.
This commit is contained in:
committed by
Havoc Pennington
parent
78273842cc
commit
6858b5342f
@@ -71,6 +71,7 @@ arrays or arrays on the stack.
|
||||
Portable way to copy <type>va_list</type> variables.
|
||||
</para>
|
||||
|
||||
<!-- # Unused Parameters # -->
|
||||
@ap1: the <type>va_list</type> variable to place a copy of @ap2 in.
|
||||
@ap2: a <type>va_list</type>.
|
||||
|
||||
|
@@ -58,6 +58,7 @@ Spawning Processes (fork/exec)
|
||||
@G_SPAWN_STDOUT_TO_DEV_NULL:
|
||||
@G_SPAWN_STDERR_TO_DEV_NULL:
|
||||
@G_SPAWN_CHILD_INHERITS_STDIN:
|
||||
@G_SPAWN_FILE_AND_ARGV_ZERO:
|
||||
|
||||
<!-- ##### USER_FUNCTION GSpawnChildSetupFunc ##### -->
|
||||
<para>
|
||||
|
Reference in New Issue
Block a user