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 1a2a9cb commit 880f4e9
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 @@ -313,7 +313,7 @@ func (pm *WinSW) buildServiceConfig(server *domain.Server) (string, error) {

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

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

0 comments on commit 880f4e9

Please sign in to comment.