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

Открыто
открыта 2019-11-15 06:48:26 +00:00 josh · комментариев: 2
josh прокомментировал(а) 2019-11-15 06:48:26 +00:00

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 ```
coolaj86 прокомментировал(а) 2019-11-15 07:30:21 +00:00
Владелец

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`
josh прокомментировал(а) 2019-11-15 22:01:27 +00:00
Автор

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
Войдите, чтобы присоединиться к обсуждению.
Нет меток
Нет этапа
Нет назначенных лиц
2 участников
Уведомления
Срок выполнения
Срок действия недействителен или находится за пределами допустимого диапазона. Пожалуйста, используйте формат 'гггг-мм-дд'.

Срок выполнения не установлен.

Зависимости

Зависимостей нет.

Ссылка: root/serviceman#2
Описание отсутствует.