From: Iain Patterson Date: Sun, 20 May 2012 13:58:46 +0000 (+0100) Subject: Windows 2000 optimisation. X-Git-Tag: v2.13~1 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=d835729cc86c54b1ecde6ffce737c41aa8d3f840;hp=d835729cc86c54b1ecde6ffce737c41aa8d3f840;p=nssm.git Windows 2000 optimisation. Windows 2000 takes a few seconds to time out when trying and failing to connect to the service manager if NSSM was run with no arguments. Check for stdin first. It won't exist if we are running in a service context so we can skip the connection attempt unless we're unsure. ---