Forráskód Böngészése

Notes on escaping quotes.

Brian Baxter points out that to install a service from the command
prompt with quotes in the options it is necessary to quote the quotes as
follows:

  nssm install service "c:\Program Files\app.exe" """C:\Path with spaces"""
Iain Patterson 11 éve
szülő
commit
0b386fc198
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      README.txt

+ 4 - 0
README.txt

@@ -77,6 +77,9 @@ with the given options (if you specified any).
 
 Don't forget to enclose paths in "quotes" if they contain spaces!
 
+If you want to include quotes in the options you will need to """quote""" the
+quotes.
+
 
 Managing the service
 --------------------
@@ -235,6 +238,7 @@ the default language when the user's display language was not translated.
 Thanks to Riccardo Gusmeroli for Italian translation.
 Thanks to Eric Cheldelin for the inspiration to generate a Control-C event
 on shutdown.
+Thanks to Brian Baxter for suggesting how to escape quotes from the command prompt.
 
 Licence
 -------