Skip to content

Commit

Permalink
Fix subsprocess call missing round brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrsxx authored and Radiicall committed Oct 6, 2023
1 parent 1f63b74 commit ae3dc54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
if os.path.isfile(path + "winsw.exe"):
print("The script will prompt for administrator to remove the already installed service")
sleep(1)
subprocess.run[path + "winsw.exe", "uninstall"]
subprocess.run([path + "winsw.exe", "uninstall"])

subprocess.run(["curl", "-o", path + "winsw.exe", "-L", "https://github.com/winsw/winsw/releases/latest/download/WinSW-x64.exe"])

Expand Down

0 comments on commit ae3dc54

Please sign in to comment.