Commit graph

8 commits

Author SHA1 Message Date
Joran Dirk Greef
0b87f36714 Make cross-platform stdout, stderr behavior consistent
Return stdout and stderr whenever these are available to assist with
debugging.

Specify 'utf-8' encoding to child_process.exec() as an explicit option
in case Node changes the default in future, and because we sometimes
return stdout and stderr via readFile(), which has a different default.

Fixes: #89
2019-06-03 17:12:19 +02:00
Joran Dirk Greef
799fd96680 Improve test to preserve internal spacing and to inspect error 2019-06-03 16:29:17 +02:00
Joran Dirk Greef
ab3a0bd981 Test options.env 2019-06-01 17:20:19 +02:00
Joran Dirk Greef
a57487d444 Add support for Windows 2016-07-15 17:13:03 +02:00
Joran Dirk Greef
bd6c099453 Fix applet path to handle spaces 2016-05-18 12:51:54 +02:00
Joran Dirk Greef
4a118a0c9c Preserve current working directory on OS X
This improves reliability for commands which expect the current working
directory to be preserved. This may not always be the case on Linux as yet.
2016-04-16 12:29:30 +02:00
Joran Dirk Greef
57a83efd64 Add exec options (support options.icns on OS X), add beta Linux support, improve concurrency 2015-11-17 15:40:53 +02:00
Joran Dirk Greef
36ab9581de Add setName and exec test 2015-09-07 08:51:27 +02:00