mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
enable shell option for Windows cross-platform compatibility
This commit is contained in:
@@ -25,7 +25,7 @@ export function spawnProcess(command, args, options = {}) {
|
||||
cwd: options.cwd || process.cwd(),
|
||||
stdio: ['pipe', 'pipe', 'pipe'],
|
||||
detached: options.detached || false,
|
||||
...process.platform === 'win32' && { shell: true },
|
||||
...(process.platform === 'win32' && { shell: true }),
|
||||
});
|
||||
|
||||
// Add a reference to track if the process is running
|
||||
|
||||
Reference in New Issue
Block a user