X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=README.txt;h=de01aa4e4ce676c05a526f435792a03cf91bae5b;hb=aece13df3cc7a17d5827cc59fc59c13538b52517;hp=85bf62eca4f2cda48de5113a501e7e20ae2f6012;hpb=eac4d7eedfe338703f0103aac01af2ca306f615a;p=nssm.git diff --git a/README.txt b/README.txt index 85bf62e..de01aa4 100644 --- a/README.txt +++ b/README.txt @@ -262,6 +262,17 @@ so the actual time to shutdown may be longer than the sum of all configured timeouts if the application spawns multiple subprocesses. +Console window +-------------- +By default, NSSM will create a console window so that applications which +are capable of reading user input can do so - subject to the service being +allowed to interact with the desktop. + +Creation of the console can be suppressed by setting the integer (REG_DWORD) +HKLM\SYSTEM\CurrentControlSet\Services\\Parameters\AppNoConsole +registry value to 1. + + I/O redirection --------------- NSSM can redirect the managed application's I/O to any path capable of being @@ -288,13 +299,6 @@ 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 running the service. -Note that if you set AppStdout and/or AppStderr, applications which attempt -to read stdin will fail due to a combination of factors including the way I/O -redirection is configured on Windows and how a console application starts in -a service context. NSSM can fake a stdin stream so that applications can -still work when they would otherwise exit when at end of file on stdin. Set -AppStdin to "|" (a single pipe character) to invoke the fake stdin. - File rotation ------------- @@ -659,6 +663,7 @@ affinity support. Thanks to Andrew RedzMax for suggesting an unconditional restart delay. Thanks to Bryan Senseman for noticing that applications with redirected stdout and/or stderr which attempt to read from stdin would fail. +Thanks to Czenda Czendov for help with Visual Studio 2013 and Server 2012R2. Licence -------