wubzz / pdf-merge

Merge multiple PDF Files into a single PDF document
127 stars 32 forks source link

Support pdftkPath for no windows platform #13

Closed vicentenoriega closed 7 years ago

vicentenoriega commented 7 years ago

If we specify pdftkPath and platform is not windows, it's not necessary to use execFile instead exec. I'd like to do this change because I need to specify pdftk path on linux platform as I don't install pdftk with apt-get command. This is usefull when pdftk is used on cloud platforms as AWS or Heroku.

wubzz commented 7 years ago

That makes sense. Thanks!