新建立服务
This commit is contained in:
@@ -766,6 +766,8 @@ namespace Start
|
||||
|
||||
WinformLog($"开始创建服务{serviceName}...", Color.Green);
|
||||
|
||||
var createTestStr = $"sc create {serviceName} binPath= \"{apiBinPath} --urls=\"http://127.0.0.1:{apiPort}\" --env CertificateApply\" DisplayName= \"{serviceDisplayName}\" start= auto";
|
||||
|
||||
var createStr = $@"sc create {serviceName} binPath= ""{apiBinPath} --urls=""http://127.0.0.1:{apiPort}"" --env CertificateApply"" DisplayName= ""{serviceDisplayName}"" start= auto";
|
||||
|
||||
// 执行 sc create 命令来创建服务
|
||||
|
||||
Reference in New Issue
Block a user