mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 12:13:33 +08:00
Try forcing new shell for child_process spawn when used for gulp plugin building
This commit is contained in:
+2
-2
@@ -78,9 +78,9 @@ function buildPlugins(callback){
|
||||
files.map( file => {
|
||||
const f = path.join(process.cwd(), file).slice(0, -12);
|
||||
console.log("Installing Dependencies for", f);
|
||||
spawn('yarn', ['install', '--network-timeout', '300000', '--check-files'], { cwd: f, stdio: 'inherit' });
|
||||
spawn('yarn', ['install', '--network-timeout', '300000', '--check-files'], { cwd: f, stdio: 'inherit', shell: true });
|
||||
console.log("Building ", f);
|
||||
spawn('yarn', ['build'], { cwd: f, stdio: 'inherit' });
|
||||
spawn('yarn', ['build'], { cwd: f, stdio: 'inherit', shell: true });
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user