Fake stdin for applications which exit on EOF.
[nssm.git] / README.txt
index b05fd78..ded8b7a 100644 (file)
@@ -288,6 +288,13 @@ AppStderr to the same path, eg C:\Users\Public\service.log, and it should
 work.  Remember, however, that the path must be accessible to the user\r
 running the service.\r
 \r
+Note that if you set AppStdout and/or AppStderr, applications which attempt\r
+to read stdin will fail due to a combination of factors including the way I/O\r
+redirection is configured on Windows and how a console application starts in\r
+a service context.  NSSM can fake a stdin stream so that applications can\r
+still work when they would otherwise exit when at end of file on stdin.  Set\r
+AppStdin to "|" (a single pipe character) to invoke the fake stdin.\r
+\r
 \r
 File rotation\r
 -------------\r
@@ -624,6 +631,8 @@ Thanks to Арслан Сайдуганов for suggesting setting process prior
 Thanks to Robert Middleton for suggestion and draft implementation of process\r
 affinity support.\r
 Thanks to Andrew RedzMax for suggesting an unconditional restart delay.\r
+Thanks to Bryan Senseman for noticing that applications with redirected stdout\r
+and/or stderr which attempt to read from stdin would fail.\r
 \r
 Licence\r
 -------\r