Bläddra i källkod

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 12 år sedan
förälder
incheckning
0b386fc198
1 ändrade filer med 4 tillägg och 0 borttagningar
  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!
 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
 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 Riccardo Gusmeroli for Italian translation.
 Thanks to Eric Cheldelin for the inspiration to generate a Control-C event
 Thanks to Eric Cheldelin for the inspiration to generate a Control-C event
 on shutdown.
 on shutdown.
+Thanks to Brian Baxter for suggesting how to escape quotes from the command prompt.
 
 
 Licence
 Licence
 -------
 -------