mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
do not pass stdin to sub tasks, fixes elastic/kibana-plugin-helpers#19
Original commit: elastic/kibana-plugin-helpers@f872954888
This commit is contained in:
parent
a1daf785ec
commit
5298a23d92
3 changed files with 3 additions and 3 deletions
|
@ -8,6 +8,6 @@ module.exports = function (plugin, command) {
|
|||
var args = ['--dev', '--plugin-path', plugin.root, ...command.unkownOptions];
|
||||
execFileSync(cmd, args, {
|
||||
cwd: kibanaDir,
|
||||
stdio: 'inherit'
|
||||
stdio: ['ignore', 1, 2]
|
||||
});
|
||||
};
|
||||
|
|
|
@ -10,7 +10,7 @@ module.exports = function (plugin) {
|
|||
var args = ['run', 'test:dev', '--'].concat(kbnServerArgs);
|
||||
execFileSync(cmd, args, {
|
||||
cwd: plugin.kibanaRoot,
|
||||
stdio: 'inherit'
|
||||
stdio: ['ignore', 1, 2]
|
||||
});
|
||||
|
||||
};
|
||||
|
|
|
@ -11,7 +11,7 @@ module.exports = function (plugin) {
|
|||
var path = `${kibanaBins}${delimiter}${process.env.PATH}`;
|
||||
execFileSync(cmd, args, {
|
||||
cwd: plugin.root,
|
||||
stdio: 'inherit',
|
||||
stdio: ['ignore', 1, 2],
|
||||
env: Object.assign({}, process.env, {
|
||||
PATH: path
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue