|
@@ -21,12 +21,11 @@ Process: [Main](../glossary.md#main-process)<br />
|
|
|
of the child process. Default is `inherit`.
|
|
|
String value can be one of `pipe`, `ignore`, `inherit`, for more details on these values you can refer to
|
|
|
[stdio][] documentation from Node.js. Currently this option only supports configuring `stdout` and
|
|
|
- `stderr` to either `pipe`, `inherit` or `ignore`. Configuring `stdin` is not supported; `stdin` will
|
|
|
- always be ignored.
|
|
|
+ `stderr` to either `pipe`, `inherit` or `ignore`. Configuring `stdin` to any property other than `ignore` is not supported and will result in an error.
|
|
|
For example, the supported values will be processed as following:
|
|
|
- * `pipe`: equivalent to \['ignore', 'pipe', 'pipe'] (the default)
|
|
|
+ * `pipe`: equivalent to \['ignore', 'pipe', 'pipe']
|
|
|
* `ignore`: equivalent to \['ignore', 'ignore', 'ignore']
|
|
|
- * `inherit`: equivalent to \['ignore', 'inherit', 'inherit']
|
|
|
+ * `inherit`: equivalent to \['ignore', 'inherit', 'inherit'] (the default)
|
|
|
* `serviceName` string (optional) - Name of the process that will appear in `name` property of
|
|
|
[`ProcessMetric`](structures/process-metric.md) returned by [`app.getAppMetrics`](app.md#appgetappmetrics)
|
|
|
and [`child-process-gone` event of `app`](app.md#event-child-process-gone).
|