This file is indexed.

/usr/share/doc/libjuce/apiref/classChildProcess.html is in libjuce-doc 4.3.0~repack-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JUCE: ChildProcess Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JUCE
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classChildProcess-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ChildProcess Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Launches and monitors a child process.  
 <a href="classChildProcess.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a9e7be158550b4d2a470e4cceef501892"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChildProcess.html#a9e7be158550b4d2a470e4cceef501892">StreamFlags</a> { <a class="el" href="classChildProcess.html#a9e7be158550b4d2a470e4cceef501892abb52a8d118b221d35bc924efb9f48573">wantStdOut</a> = 1, 
<a class="el" href="classChildProcess.html#a9e7be158550b4d2a470e4cceef501892a99e96160b71df9cd65473f410ac7090e">wantStdErr</a> = 2
 }<tr class="memdesc:a9e7be158550b4d2a470e4cceef501892"><td class="mdescLeft">&#160;</td><td class="mdescRight">These flags are used by the <a class="el" href="classChildProcess.html#aa5e6f939a0f0c3e87bd7c58dcec9f13c" title="Attempts to launch a child process command. ">start()</a> methods.  <a href="classChildProcess.html#a9e7be158550b4d2a470e4cceef501892">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a9e7be158550b4d2a470e4cceef501892"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7a3ac50868578dc8b65203e4ccfb8038"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChildProcess.html#a7a3ac50868578dc8b65203e4ccfb8038">ChildProcess</a> ()</td></tr>
<tr class="memdesc:a7a3ac50868578dc8b65203e4ccfb8038"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a process object.  <a href="#a7a3ac50868578dc8b65203e4ccfb8038">More...</a><br /></td></tr>
<tr class="separator:a7a3ac50868578dc8b65203e4ccfb8038"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3749642d15c9fce912f9e7f9daaf52f0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChildProcess.html#a3749642d15c9fce912f9e7f9daaf52f0">~ChildProcess</a> ()</td></tr>
<tr class="memdesc:a3749642d15c9fce912f9e7f9daaf52f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a3749642d15c9fce912f9e7f9daaf52f0">More...</a><br /></td></tr>
<tr class="separator:a3749642d15c9fce912f9e7f9daaf52f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5e6f939a0f0c3e87bd7c58dcec9f13c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChildProcess.html#aa5e6f939a0f0c3e87bd7c58dcec9f13c">start</a> (const <a class="el" href="classString.html">String</a> &amp;command, int streamFlags=<a class="el" href="classChildProcess.html#a9e7be158550b4d2a470e4cceef501892abb52a8d118b221d35bc924efb9f48573">wantStdOut</a>|<a class="el" href="classChildProcess.html#a9e7be158550b4d2a470e4cceef501892a99e96160b71df9cd65473f410ac7090e">wantStdErr</a>)</td></tr>
<tr class="memdesc:aa5e6f939a0f0c3e87bd7c58dcec9f13c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempts to launch a child process command.  <a href="#aa5e6f939a0f0c3e87bd7c58dcec9f13c">More...</a><br /></td></tr>
<tr class="separator:aa5e6f939a0f0c3e87bd7c58dcec9f13c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1b54ec34a8fa09e679aed90c167cb64"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChildProcess.html#ae1b54ec34a8fa09e679aed90c167cb64">start</a> (const <a class="el" href="classStringArray.html">StringArray</a> &amp;arguments, int streamFlags=<a class="el" href="classChildProcess.html#a9e7be158550b4d2a470e4cceef501892abb52a8d118b221d35bc924efb9f48573">wantStdOut</a>|<a class="el" href="classChildProcess.html#a9e7be158550b4d2a470e4cceef501892a99e96160b71df9cd65473f410ac7090e">wantStdErr</a>)</td></tr>
<tr class="memdesc:ae1b54ec34a8fa09e679aed90c167cb64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempts to launch a child process command.  <a href="#ae1b54ec34a8fa09e679aed90c167cb64">More...</a><br /></td></tr>
<tr class="separator:ae1b54ec34a8fa09e679aed90c167cb64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a283a92893590cd8fc199933c0d691670"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChildProcess.html#a283a92893590cd8fc199933c0d691670">isRunning</a> () const</td></tr>
<tr class="memdesc:a283a92893590cd8fc199933c0d691670"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the child process is alive.  <a href="#a283a92893590cd8fc199933c0d691670">More...</a><br /></td></tr>
<tr class="separator:a283a92893590cd8fc199933c0d691670"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6f8f31a8c86fadeba06b8be21e94e30"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChildProcess.html#af6f8f31a8c86fadeba06b8be21e94e30">readProcessOutput</a> (void *destBuffer, int numBytesToRead)</td></tr>
<tr class="memdesc:af6f8f31a8c86fadeba06b8be21e94e30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempts to read some output from the child process.  <a href="#af6f8f31a8c86fadeba06b8be21e94e30">More...</a><br /></td></tr>
<tr class="separator:af6f8f31a8c86fadeba06b8be21e94e30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae91e215618cd1861c2e2ca13e5f4166e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classString.html">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChildProcess.html#ae91e215618cd1861c2e2ca13e5f4166e">readAllProcessOutput</a> ()</td></tr>
<tr class="memdesc:ae91e215618cd1861c2e2ca13e5f4166e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Blocks until the process has finished, and then returns its complete output as a string.  <a href="#ae91e215618cd1861c2e2ca13e5f4166e">More...</a><br /></td></tr>
<tr class="separator:ae91e215618cd1861c2e2ca13e5f4166e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a767ec1edb651a654ef217a0f5f4f29d8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChildProcess.html#a767ec1edb651a654ef217a0f5f4f29d8">waitForProcessToFinish</a> (int timeoutMs) const</td></tr>
<tr class="memdesc:a767ec1edb651a654ef217a0f5f4f29d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Blocks until the process is no longer running.  <a href="#a767ec1edb651a654ef217a0f5f4f29d8">More...</a><br /></td></tr>
<tr class="separator:a767ec1edb651a654ef217a0f5f4f29d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbafc3e15c0abdb2bd6a5f9e45a2f620"><td class="memItemLeft" align="right" valign="top"><a class="el" href="juce__MathsFunctions_8h.html#a1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChildProcess.html#acbafc3e15c0abdb2bd6a5f9e45a2f620">getExitCode</a> () const</td></tr>
<tr class="memdesc:acbafc3e15c0abdb2bd6a5f9e45a2f620"><td class="mdescLeft">&#160;</td><td class="mdescRight">If the process has finished, this returns its exit code.  <a href="#acbafc3e15c0abdb2bd6a5f9e45a2f620">More...</a><br /></td></tr>
<tr class="separator:acbafc3e15c0abdb2bd6a5f9e45a2f620"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a524fd75e18a0aa94a8518ce49432413c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChildProcess.html#a524fd75e18a0aa94a8518ce49432413c">kill</a> ()</td></tr>
<tr class="memdesc:a524fd75e18a0aa94a8518ce49432413c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempts to kill the child process.  <a href="#a524fd75e18a0aa94a8518ce49432413c">More...</a><br /></td></tr>
<tr class="separator:a524fd75e18a0aa94a8518ce49432413c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Launches and monitors a child process. </p>
<p>This class lets you launch an executable, and read its output. You can also use it to check whether the child process has finished. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a9e7be158550b4d2a470e4cceef501892"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e7be158550b4d2a470e4cceef501892">&sect;&nbsp;</a></span>StreamFlags</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classChildProcess.html#a9e7be158550b4d2a470e4cceef501892">ChildProcess::StreamFlags</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>These flags are used by the <a class="el" href="classChildProcess.html#aa5e6f939a0f0c3e87bd7c58dcec9f13c" title="Attempts to launch a child process command. ">start()</a> methods. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a9e7be158550b4d2a470e4cceef501892abb52a8d118b221d35bc924efb9f48573"></a>wantStdOut&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a9e7be158550b4d2a470e4cceef501892a99e96160b71df9cd65473f410ac7090e"></a>wantStdErr&#160;</td><td class="fielddoc"></td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a7a3ac50868578dc8b65203e4ccfb8038"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a3ac50868578dc8b65203e4ccfb8038">&sect;&nbsp;</a></span>ChildProcess()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ChildProcess::ChildProcess </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a process object. </p>
<p>To actually launch the process, use <a class="el" href="classChildProcess.html#aa5e6f939a0f0c3e87bd7c58dcec9f13c" title="Attempts to launch a child process command. ">start()</a>. </p>

</div>
</div>
<a id="a3749642d15c9fce912f9e7f9daaf52f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3749642d15c9fce912f9e7f9daaf52f0">&sect;&nbsp;</a></span>~ChildProcess()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ChildProcess::~ChildProcess </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destructor. </p>
<p>Note that deleting this object won't terminate the child process. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa5e6f939a0f0c3e87bd7c58dcec9f13c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5e6f939a0f0c3e87bd7c58dcec9f13c">&sect;&nbsp;</a></span>start() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ChildProcess::start </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classString.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>command</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>streamFlags</em> = <code><a class="el" href="classChildProcess.html#a9e7be158550b4d2a470e4cceef501892abb52a8d118b221d35bc924efb9f48573">wantStdOut</a>|<a class="el" href="classChildProcess.html#a9e7be158550b4d2a470e4cceef501892a99e96160b71df9cd65473f410ac7090e">wantStdErr</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Attempts to launch a child process command. </p>
<p>The command should be the name of the executable file, followed by any arguments that are required. If the process has already been launched, this will launch it again. If a problem occurs, the method will return false. The streamFlags is a combinations of values to indicate which of the child's output streams should be read and returned by <a class="el" href="classChildProcess.html#af6f8f31a8c86fadeba06b8be21e94e30" title="Attempts to read some output from the child process. ">readProcessOutput()</a>. </p>

</div>
</div>
<a id="ae1b54ec34a8fa09e679aed90c167cb64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1b54ec34a8fa09e679aed90c167cb64">&sect;&nbsp;</a></span>start() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ChildProcess::start </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classStringArray.html">StringArray</a> &amp;&#160;</td>
          <td class="paramname"><em>arguments</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>streamFlags</em> = <code><a class="el" href="classChildProcess.html#a9e7be158550b4d2a470e4cceef501892abb52a8d118b221d35bc924efb9f48573">wantStdOut</a>|<a class="el" href="classChildProcess.html#a9e7be158550b4d2a470e4cceef501892a99e96160b71df9cd65473f410ac7090e">wantStdErr</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Attempts to launch a child process command. </p>
<p>The first argument should be the name of the executable file, followed by any other arguments that are needed. If the process has already been launched, this will launch it again. If a problem occurs, the method will return false. The streamFlags is a combinations of values to indicate which of the child's output streams should be read and returned by <a class="el" href="classChildProcess.html#af6f8f31a8c86fadeba06b8be21e94e30" title="Attempts to read some output from the child process. ">readProcessOutput()</a>. </p>

</div>
</div>
<a id="a283a92893590cd8fc199933c0d691670"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a283a92893590cd8fc199933c0d691670">&sect;&nbsp;</a></span>isRunning()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ChildProcess::isRunning </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns true if the child process is alive. </p>

</div>
</div>
<a id="af6f8f31a8c86fadeba06b8be21e94e30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6f8f31a8c86fadeba06b8be21e94e30">&sect;&nbsp;</a></span>readProcessOutput()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ChildProcess::readProcessOutput </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>destBuffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numBytesToRead</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Attempts to read some output from the child process. </p>
<p>This will attempt to read up to the given number of bytes of data from the process. It returns the number of bytes that were actually read. </p>

</div>
</div>
<a id="ae91e215618cd1861c2e2ca13e5f4166e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae91e215618cd1861c2e2ca13e5f4166e">&sect;&nbsp;</a></span>readAllProcessOutput()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classString.html">String</a> ChildProcess::readAllProcessOutput </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Blocks until the process has finished, and then returns its complete output as a string. </p>

</div>
</div>
<a id="a767ec1edb651a654ef217a0f5f4f29d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a767ec1edb651a654ef217a0f5f4f29d8">&sect;&nbsp;</a></span>waitForProcessToFinish()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ChildProcess::waitForProcessToFinish </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>timeoutMs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Blocks until the process is no longer running. </p>

</div>
</div>
<a id="acbafc3e15c0abdb2bd6a5f9e45a2f620"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbafc3e15c0abdb2bd6a5f9e45a2f620">&sect;&nbsp;</a></span>getExitCode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="juce__MathsFunctions_8h.html#a1134b580f8da4de94ca6b1de4d37975e">uint32</a> ChildProcess::getExitCode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If the process has finished, this returns its exit code. </p>

</div>
</div>
<a id="a524fd75e18a0aa94a8518ce49432413c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a524fd75e18a0aa94a8518ce49432413c">&sect;&nbsp;</a></span>kill()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ChildProcess::kill </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Attempts to kill the child process. </p>
<p>Returns true if it succeeded. Trying to read from the process after calling this may result in undefined behaviour. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__ChildProcess_8h.html">juce_ChildProcess.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content &copy ROLI Ltd.</small></address><br/>
</body>
</html>