Skip to content

Commit

Permalink
Allow commands to be local binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Oct 13, 2019
1 parent edc5092 commit e821325
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/processes/execute.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,12 @@ export const executeChild = async function({

const getSpawnOptions = function({ stdio, cwd, duration }) {
const timeout = getTimeout(duration)
return { stdio, cwd, timeout, buffer: false, reject: false }
return {
stdio,
cwd,
timeout,
buffer: false,
reject: false,
preferLocal: true,
}
}

0 comments on commit e821325

Please sign in to comment.