mtkennerly / shawl

Windows service wrapper for arbitrary commands
MIT License
518 stars 15 forks source link

can't create app #11

Closed transtone closed 3 years ago

transtone commented 3 years ago

shawl add --name myapp -- 'D:\soft\myApp.exe'

[ERROR] Failed to create the service. Error code: 1072.
[ERROR] SC stdout:
[SC] OpenSCManager ʧ�� 1072:

�ܾ����ʡ�

[ERROR] SC stderr:
mtkennerly commented 3 years ago

Hmm, from what I can tell, error 1072 sounds related to not being able to delete a service, which is odd in this context if it doesn't already exist. I'm not sure what's going on, but here are some questions to try to narrow it down:

mtkennerly commented 3 years ago

I'm closing this since I don't have enough info to take action, but I'll be happy to look into this if you can provide some more details.