Skip to content

Commit

Permalink
fix winsw
Browse files Browse the repository at this point in the history
  • Loading branch information
et-nik committed Feb 27, 2024
1 parent dc4dd0a commit 28a9543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/processmanager/winsw.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func (pm *WinSW) buildServiceConfig(server *domain.Server) (string, error) {

if filepath.Ext(executable) == ".bat" {
executable = "cmd.exe"
argArr = append(argArr, "/c", cmd)
argArr = append(argArr, "/c", executable)
}

argArr = append(argArr, cmdArr[1:]...)
Expand Down

0 comments on commit 28a9543

Please sign in to comment.