Skip to content

Commit

Permalink
Merge 892292a into d06fea2
Browse files Browse the repository at this point in the history
  • Loading branch information
philipjscott committed Jan 19, 2020
2 parents d06fea2 + 892292a commit 298bf70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -79,7 +79,7 @@ function buildArgs (input, output, { width, height, percentage }, seek) {
* @returns {Promise} Promise that resolves once thumbnail is generated
*/
function ffmpegExecute (path, args, rstream, wstream) {
const ffmpeg = spawn(path, args, { shell: true })
const ffmpeg = spawn(`"${path}"`, args, { shell: true })
let stderr = ''

return new Promise((resolve, reject) => {
Expand Down

0 comments on commit 298bf70

Please sign in to comment.