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

开启中
josh2019-11-15 06:48:26 +00:00创建 · 2 评论

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 ```
管理员

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`
作者

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 名参与者
通知
到期时间
到期日期无效或超出范围。请使用 'yyyy-mm-dd' 格式。

未设置到期时间。

依赖工单

没有设置依赖项。

参考:root/serviceman#2
没有提供说明。