summaryrefslogtreecommitdiffstats
path: root/node_modules/npm-run-all/lib/spawn.js
blob: 139281773d5a46f7ebf7f327eda806391650735f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * @module spawn
 * @author Toru Nagashima
 * @copyright 2015 Toru Nagashima. All rights reserved.
 * See LICENSE file in root directory for full license.
 */
"use strict"

//------------------------------------------------------------------------------
// Public Interface
//------------------------------------------------------------------------------

/**
 * Launches a new process with the given command.
 * This is {@link ./spawn-posix.js:spawn} or {@link ./spawn-win32.js:spawn}
 * @private
 */
module.exports = require(
    process.platform === "win32" ? "./spawn-win32" : "./spawn-posix"
)