Skip to content

Commit

Permalink
fix: cmd option
Browse files Browse the repository at this point in the history
/c runs the command and exits. /k keeps the new shell open
  • Loading branch information
mcintel committed May 11, 2024
1 parent 4de5db9 commit a0e254b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changelog/_unreleased.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[[entries]]
id = "f71eac90-2178-4538-b99b-07b2eae96758"
type = "fix"
description = "Use correct cmd option"
author = "@mcintel"
2 changes: 1 addition & 1 deletion src/slap/ext/application/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def run(self) -> int:
TestRunner._prev_color = color

if os.name == "nt":
command = ["cmd", "/k", self.config]
command = ["cmd", "/c", self.config]
else:
shell = os.getenv("SHELL", "bash")
command = [shell, "-c", self.config]
Expand Down

0 comments on commit a0e254b

Please sign in to comment.