Skip to content

Commit

Permalink
fix: reverse last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen-RA-King committed Mar 14, 2023
1 parent a712da9 commit ed7130b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/pynball/pynball.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,13 +525,8 @@ def system(ctx: Any, name: str) -> None:
_setenv("system", "PATH", all_paths)
message = "New version set"
_feedback(message, "nominal")
message = "restarting the shell to use the new version"
message = "Remember to restart the shell to use the new version"
_feedback(message, "warning")
if os.name == "nt":
os.system("taskkill /f /im explorer.exe > nul 2>&1")
else:
os.system("taskkill /f /im explorer.exe > /dev/null 2>&1")
os.system("start explorer.exe")


@cli.command()
Expand Down

0 comments on commit ed7130b

Please sign in to comment.