Files
glib/docs/reference/glib/tmpl/spawn.sgml
Havoc Pennington 6858b5342f 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.
2001-06-08 19:41:51 +00:00

147 lines
2.0 KiB
Plaintext

<!-- ##### SECTION Title ##### -->
Spawning Processes (fork/exec)
<!-- ##### SECTION Short_Description ##### -->
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### ENUM GSpawnError ##### -->
<para>
</para>
@G_SPAWN_ERROR_FORK:
@G_SPAWN_ERROR_READ:
@G_SPAWN_ERROR_CHDIR:
@G_SPAWN_ERROR_ACCES:
@G_SPAWN_ERROR_PERM:
@G_SPAWN_ERROR_2BIG:
@G_SPAWN_ERROR_NOEXEC:
@G_SPAWN_ERROR_NAMETOOLONG:
@G_SPAWN_ERROR_NOENT:
@G_SPAWN_ERROR_NOMEM:
@G_SPAWN_ERROR_NOTDIR:
@G_SPAWN_ERROR_LOOP:
@G_SPAWN_ERROR_TXTBUSY:
@G_SPAWN_ERROR_IO:
@G_SPAWN_ERROR_NFILE:
@G_SPAWN_ERROR_MFILE:
@G_SPAWN_ERROR_INVAL:
@G_SPAWN_ERROR_ISDIR:
@G_SPAWN_ERROR_LIBBAD:
@G_SPAWN_ERROR_FAILED:
<!-- ##### MACRO G_SPAWN_ERROR ##### -->
<para>
</para>
<!-- ##### ENUM GSpawnFlags ##### -->
<para>
</para>
@G_SPAWN_LEAVE_DESCRIPTORS_OPEN:
@G_SPAWN_DO_NOT_REAP_CHILD:
@G_SPAWN_SEARCH_PATH:
@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>
</para>
@user_data:
<!-- ##### FUNCTION g_spawn_async_with_pipes ##### -->
<para>
</para>
@working_directory:
@argv:
@envp:
@flags:
@child_setup:
@user_data:
@child_pid:
@standard_input:
@standard_output:
@standard_error:
@error:
@Returns:
<!-- ##### FUNCTION g_spawn_async ##### -->
<para>
</para>
@working_directory:
@argv:
@envp:
@flags:
@child_setup:
@user_data:
@child_pid:
@error:
@Returns:
<!-- ##### FUNCTION g_spawn_sync ##### -->
<para>
</para>
@working_directory:
@argv:
@envp:
@flags:
@child_setup:
@user_data:
@standard_output:
@standard_error:
@exit_status:
@error:
@Returns:
<!-- ##### FUNCTION g_spawn_command_line_async ##### -->
<para>
</para>
@command_line:
@error:
@Returns:
<!-- ##### FUNCTION g_spawn_command_line_sync ##### -->
<para>
</para>
@command_line:
@standard_output:
@standard_error:
@exit_status:
@error:
@Returns: