Mailspring/docs/BufferedNodeProcess.html
2015-10-02 10:57:48 -07:00

51 lines
1.3 KiB
HTML

---
layout: docs
title: BufferedNodeProcess
---
<h2>Summary</h2>
<div class="markdown-from-sourecode">
<p><p>Like <a href='bufferedprocess.html'>BufferedProcess</a>, but accepts a Node script as the command
to run.</p>
<p>This is necessary on Windows since it doesn&#39;t support shebang <code>#!</code> lines.</p>
</p>
</div>
<ul>
</ul>
<h3>Instance Methods</h3>
<h4 id=constructor class="function-name">
constructor(<span class="args"><span class="arg">options</span></span>) <a href="#constructor" class="link"></a>
</h4>
<div class="function-description markdown-from-sourecode">
<p><p>Runs the given Node script by spawning a new child process.</p>
</p>
</div>
<strong>Parameters</strong>
<table class="arguments">
<tr>
<th>Argument</th>
<th>Description</th>
</tr>
<tr>
<td style="width:15%;">
<em>options</em>
</td>
<td class="markdown-from-sourecode">
<p>An <a href='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object'>Object</a> with the following keys:</p>
</td>
</tr>
</table>