rannn505 / child-shell

Node.js bindings 🔗 for shell
http://rannn505.github.io/child-shell/
MIT License
299 stars 71 forks source link

Fix trim unix eol in buffer on windows #123

Closed krystofwoldrich closed 3 years ago

krystofwoldrich commented 4 years ago

Without this fix all run end up with error output as result and hasError flag true. The content of the error output before this fix is unix style eol.

Solves issue: https://github.com/rannn505/node-powershell/issues/122

krystofwoldrich commented 3 years ago

@rannn505 Changed the fix based on your suggesting: https://github.com/rannn505/node-powershell/pull/116#issuecomment-692956486

Ready to merge.