garris / BackstopJS

Catch CSS curve balls.
http://backstopjs.org
MIT License
6.66k stars 602 forks source link

fix(remote): updates `child_process.exec` to include PATH and log errors #1488

Closed dgrebb closed 11 months ago

dgrebb commented 11 months ago

closes #1446

child_process.exec isn't aware of the node executable path without explicitly including the parent process's PATH

Also added logging for exec so errors are a little easier to access by downstream users.

Note: this is likely only for local, npm i -D backstopjs, use cases.