Create a service with spaces doesn't work in Windows. #2

Atvērta
josh atvēra 2019-11-15 06:48:26 +00:00 · 2 komentāri

Windows 10 v1903.

serviceman add --name "A Go Web Server" server.exe

It works, until you shut down or restart, then it never comes back up. However, this works through a reboot:

serviceman add --name "Go" server.exe
Windows 10 v1903. ``` serviceman add --name "A Go Web Server" server.exe ``` It works, until you shut down or restart, then it never comes back up. However, this works through a reboot: ``` serviceman add --name "Go" server.exe ```
Īpašnieks

That's because name isn't supposed to be a human-readable Title, it's meant to be a machine readable name: a_name_like_this

That's because name isn't supposed to be a human-readable Title, it's meant to be a machine readable name: `a_name_like_this`
Autors

Ok. That makes perfect sense, I just didn't know that. I tried to create a pull request but don't seem to be able to: cf6329ba27

Ok. That makes perfect sense, I just didn't know that. I tried to create a pull request but don't seem to be able to: https://git.rootprojects.org/josh/serviceman/commit/cf6329ba277b96e75b4ba527567d0d5a0c3e4ed8
Pierakstieties, lai pievienotos šai sarunai.
Nav etiķešu
Nav atskaites punktu
Nav atbildīgo
2 dalībnieki
Paziņojumi
Izpildes termiņš
Datums līdz nav korekts. Izmantojiet formātu 'gggg-mm-dd'.

Izpildes termiņš nav uzstādīts.

Atkarības

Nav atkarību.

Atsaucas uz: root/serviceman#2
No description provided.