Skip to content

Commit

Permalink
test: fix windows issues with appveyor magic (#962)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-fenster authored and JustinBeckwith committed Jan 25, 2018
1 parent e6f2a5d commit 6258b40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test.kitchen.ts
Expand Up @@ -30,7 +30,9 @@ const pkg = require('../../package.json');
const spawnp = (command: string, args: string[], options: cp.SpawnOptions = {}):
Promise<void> => {
return new Promise((resolve, reject) => {
cp.spawn(command, args, Object.assign(options, {stdio: 'inherit'}))
cp.spawn(
command, args,
Object.assign(options, {stdio: 'inherit', shell: true}))
.on('close',
(code, signal) => {
if (code === 0) {
Expand Down

0 comments on commit 6258b40

Please sign in to comment.