Skip to content

Commit

Permalink
fix(cli): shell: true instead of bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Jan 3, 2022
1 parent 881fd52 commit bc570c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/spawn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function spawn(
const [cmd, ...args] = command.split(' ').map((s) => s.trim())
debug(`execute ${cmd} ${args.join(' ')}`)
return new Promise((resolve, reject) => {
const spawnStream = _spawn(cmd, args, { ...options, shell: 'bash' })
const spawnStream = _spawn(cmd, args, { ...options, shell: true })
const chunks: Buffer[] = []
process.stdin.pipe(spawnStream.stdin)
spawnStream.stdout?.on('data', (chunk) => {
Expand Down

0 comments on commit bc570c2

Please sign in to comment.