2
1
miroir de https://github.com/therootcompany/serviceman.git synchronisé 2025-07-06 17:56:30 +00:00

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

Ouvert
créé 2019-11-15 06:48:26 +00:00 par josh · 2 commentaires

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 ```
Propriétaire

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`
Auteur

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
Connectez-vous pour rejoindre cette conversation.
Sans labels
2 participants
Notifications
Échéance
Aucune échéance n'a été définie.
Dépendances

Aucune dépendance définie.

Référence : root/serviceman#2
Sans contenu.