Merged from glib-2-6:

2005-05-20  Federico Mena Quintero  <federico@ximian.com>

	Merged from glib-2-6:

	* glib/gspawn.c (g_spawn_command_line_sync): Clarify the meaning
	of exit_status(); it's not the return code from the child, but
	rather the waitpid() status.
This commit is contained in:
Federico Mena Quintero 2005-05-20 19:30:02 +00:00 committed by Federico Mena Quintero
parent 6b36180679
commit 19c6921798
5 changed files with 38 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2005-05-20 Federico Mena Quintero <federico@ximian.com>
Merged from glib-2-6:
* glib/gspawn.c (g_spawn_command_line_sync): Clarify the meaning
of exit_status(); it's not the return code from the child, but
rather the waitpid() status.
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* glib/gunidecomp.c: Correct the end of the Hangul

View File

@ -1,3 +1,11 @@
2005-05-20 Federico Mena Quintero <federico@ximian.com>
Merged from glib-2-6:
* glib/gspawn.c (g_spawn_command_line_sync): Clarify the meaning
of exit_status(); it's not the return code from the child, but
rather the waitpid() status.
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* glib/gunidecomp.c: Correct the end of the Hangul

View File

@ -1,3 +1,11 @@
2005-05-20 Federico Mena Quintero <federico@ximian.com>
Merged from glib-2-6:
* glib/gspawn.c (g_spawn_command_line_sync): Clarify the meaning
of exit_status(); it's not the return code from the child, but
rather the waitpid() status.
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* glib/gunidecomp.c: Correct the end of the Hangul

View File

@ -1,3 +1,11 @@
2005-05-20 Federico Mena Quintero <federico@ximian.com>
Merged from glib-2-6:
* glib/gspawn.c (g_spawn_command_line_sync): Clarify the meaning
of exit_status(); it's not the return code from the child, but
rather the waitpid() status.
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* glib/gunidecomp.c: Correct the end of the Hangul

View File

@ -195,7 +195,7 @@ read_data (GString *str,
* @user_data: user data for @child_setup
* @standard_output: return location for child output
* @standard_error: return location for child error messages
* @exit_status: child exit status, as returned by waitpid()
* @exit_status: return location for child exit status, as returned by waitpid()
* @error: return location for error
*
* Executes a child synchronously (waits for the child to exit before returning).
@ -600,7 +600,7 @@ g_spawn_async_with_pipes (const gchar *working_directory,
* @command_line: a command line
* @standard_output: return location for child output
* @standard_error: return location for child errors
* @exit_status: return location for child exit status
* @exit_status: return location for child exit status, as returned by waitpid()
* @error: return location for errors
*
* A simple version of g_spawn_sync() with little-used parameters
@ -612,6 +612,10 @@ g_spawn_async_with_pipes (const gchar *working_directory,
* appropriate. Possible errors are those from g_spawn_sync() and those
* from g_shell_parse_argv().
*
* If @exit_status is non-%NULL, the exit status of the child is stored there as
* it would be returned by waitpid(); standard UNIX macros such as WIFEXITED()
* and WEXITSTATUS() must be used to evaluate the exit status.
*
* On Windows, please note the implications of g_shell_parse_argv()
* parsing @command_line. Space is a separator, and backslashes are
* special. Thus you cannot simply pass a @command_line containing