martylamb/nailgun — pull request #47 by dwightguth (2014-11-05 22:48:20+00:00)
Title: fix generic support for isatty info

I made this change so that even windows machines have access to to isatty information. I also took the liberty of moving the code that sends the environment /after/ the code that sends the isatty variables. This allows nailgun processes to invoke other nailgun processes and still have the correct value for isatty in the environment.

We are using nailgun at our startup in order to make a java application faster, and this is one of the modifications I made in order to allow our application to detect whether stdin has been redirected to a file or a pipe.