mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
docs: Add Markdown backticks around /dev/null
in a few places
This improves the formatting of the documentation ever so slightly. Signed-off-by: Philip Withnall <withnall@endlessm.com> Reviewed-by: nobody
This commit is contained in:
parent
ca95aa7e12
commit
565d8fa1ee
@ -1816,12 +1816,12 @@ typedef enum /*< flags >*/ {
|
||||
* spawned process that can be accessed with
|
||||
* g_subprocess_get_stdout_pipe().
|
||||
* @G_SUBPROCESS_FLAGS_STDOUT_SILENCE: silence the stdout of the spawned
|
||||
* process (ie: redirect to /dev/null).
|
||||
* process (ie: redirect to `/dev/null`).
|
||||
* @G_SUBPROCESS_FLAGS_STDERR_PIPE: create a pipe for the stderr of the
|
||||
* spawned process that can be accessed with
|
||||
* g_subprocess_get_stderr_pipe().
|
||||
* @G_SUBPROCESS_FLAGS_STDERR_SILENCE: silence the stderr of the spawned
|
||||
* process (ie: redirect to /dev/null).
|
||||
* process (ie: redirect to `/dev/null`).
|
||||
* @G_SUBPROCESS_FLAGS_STDERR_MERGE: merge the stderr of the spawned
|
||||
* process with whatever the stdout happens to be. This is a good way
|
||||
* of directing both streams to a common log file, for example.
|
||||
@ -1832,7 +1832,7 @@ typedef enum /*< flags >*/ {
|
||||
*
|
||||
* Flags to define the behaviour of a #GSubprocess.
|
||||
*
|
||||
* Note that the default for stdin is to redirect from /dev/null. For
|
||||
* Note that the default for stdin is to redirect from `/dev/null`. For
|
||||
* stdout and stderr the default are for them to inherit the
|
||||
* corresponding descriptor from the calling process.
|
||||
*
|
||||
|
@ -616,7 +616,7 @@ g_spawn_sync (const gchar *working_directory,
|
||||
* standard error. If you use this flag, @standard_error must be %NULL.
|
||||
* %G_SPAWN_CHILD_INHERITS_STDIN means that the child will inherit the parent's
|
||||
* standard input (by default, the child's standard input is attached to
|
||||
* /dev/null). If you use this flag, @standard_input must be %NULL.
|
||||
* `/dev/null`). If you use this flag, @standard_input must be %NULL.
|
||||
* %G_SPAWN_FILE_AND_ARGV_ZERO means that the first element of @argv is
|
||||
* the file to execute, while the remaining elements are the actual
|
||||
* argument vector to pass to the file. Normally g_spawn_async_with_pipes()
|
||||
@ -653,8 +653,8 @@ g_spawn_sync (const gchar *working_directory,
|
||||
* when they are no longer in use. If these parameters are %NULL, the
|
||||
* corresponding pipe won't be created.
|
||||
*
|
||||
* If @standard_input is NULL, the child's standard input is attached to
|
||||
* /dev/null unless %G_SPAWN_CHILD_INHERITS_STDIN is set.
|
||||
* If @standard_input is %NULL, the child's standard input is attached to
|
||||
* `/dev/null` unless %G_SPAWN_CHILD_INHERITS_STDIN is set.
|
||||
*
|
||||
* If @standard_error is NULL, the child's standard error goes to the same
|
||||
* location as the parent's standard error unless %G_SPAWN_STDERR_TO_DEV_NULL
|
||||
|
Loading…
Reference in New Issue
Block a user