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
Sans jalon
Sans assignation
2 participants
Notifications
Échéance
La date d’échéance est invalide ou hors plage. Veuillez utiliser le format 'aaaa-mm-dd'.

Aucune échéance n'a été définie.

Dépendances

Aucune dépendance définie.

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