UNPKG

603 BJavaScriptView Raw
1/**
2 * @module spawn
3 * @author Toru Nagashima
4 * @copyright 2015 Toru Nagashima. All rights reserved.
5 * See LICENSE file in root directory for full license.
6 */
7"use strict"
8
9//------------------------------------------------------------------------------
10// Public Interface
11//------------------------------------------------------------------------------
12
13/**
14 * Launches a new process with the given command.
15 * This is {@link ./spawn-posix.js:spawn} or {@link ./spawn-win32.js:spawn}
16 * @private
17 */
18module.exports = require(
19 process.platform === "win32" ? "./spawn-win32" : "./spawn-posix"
20)