mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-31 07:32:53 +00:00
use child_process directly
This commit is contained in:
parent
c44ead96ea
commit
1fdd5e751e
|
|
@ -17,7 +17,7 @@ function execPromise(
|
|||
command: string,
|
||||
options: ExecOptions,
|
||||
): Promise<{exitCode: number; stdout: string; stderr: string}> {
|
||||
options.shell = '/bin/bash';
|
||||
// options.shell = '/bin/bash';
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
exec(command, options, (error, stdout, stderr) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue