123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%GLibTestSubprocessFlags>: </title>
- <meta name="generator" content="DocBook XSL Stylesheets V1.79.2">
- <link rel="home" href="index.html" title="">
- <link rel="up" href="ch01.html" title="GLib">
- <link rel="prev" href="re64.html" title="<%GLibTestResult>">
- <link rel="next" href="re66.html" title="<GThread>">
- <meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
- <link rel="stylesheet" href="style.css" type="text/css">
- </head>
- <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
- <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
- <td width="100%" align="left" class="shortcuts"></td>
- <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
- <td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
- <td><a accesskey="p" href="re64.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
- <td><a accesskey="n" href="re66.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
- </tr></table>
- <div class="refentry">
- <a name="id-1.1.66"></a><div class="titlepage"></div>
- <div class="refnamediv">
- <h2><%GLibTestSubprocessFlags></h2>
- <p><%GLibTestSubprocessFlags></p>
- </div>
- <div class="refsect1">
- <a name="id-1.1.66.2"></a><h2>Description</h2>
- <p>Flags to pass to <code class="function">g_test_trap_subprocess()</code> to control input and output.
- </p>
- <p>Note that in contrast with <code class="function">g_test_trap_fork()</code>, the default is to
- not show stdout and stderr.</p>
- </div>
- <div class="refsect1">
- <a name="id-1.1.66.3"></a><h2>Members</h2>
- <div class="refsect2">
- <a name="id-1.1.66.3.2"></a><h3>stdin</h3>
- <p class="remark"><em><span class="remark">alias <code class="code">G_TEST_SUBPROCESS_INHERIT_STDIN</code></span></em></p>
- <p>If this flag is given, the child
- process will inherit the parent's stdin. Otherwise, the child's
- stdin is redirected to <code class="code">/dev/null</code>.</p>
- </div>
- <div class="refsect2">
- <a name="id-1.1.66.3.3"></a><h3>stdout</h3>
- <p class="remark"><em><span class="remark">alias <code class="code">G_TEST_SUBPROCESS_INHERIT_STDOUT</code></span></em></p>
- <p>If this flag is given, the child
- process will inherit the parent's stdout. Otherwise, the child's
- stdout will not be visible, but it will be captured to allow
- later tests with <code class="function">g_test_trap_assert_stdout()</code>.</p>
- </div>
- <div class="refsect2">
- <a name="id-1.1.66.3.4"></a><h3>stderr</h3>
- <p class="remark"><em><span class="remark">alias <code class="code">G_TEST_SUBPROCESS_INHERIT_STDERR</code></span></em></p>
- <p>If this flag is given, the child
- process will inherit the parent's stderr. Otherwise, the child's
- stderr will not be visible, but it will be captured to allow
- later tests with <code class="function">g_test_trap_assert_stderr()</code>.</p>
- </div>
- </div>
- </div>
- <div class="footer">
- <hr>Generated by GTK-Doc V1.33.1</div>
- </body>
- </html>
|