Skip to content

Commit

Permalink
Fixed subprocess shell
Browse files Browse the repository at this point in the history
  • Loading branch information
max-amb committed Dec 4, 2024
1 parent b023e45 commit d3709ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix_tree/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ def compose(self) -> ComposeResult:
""")
try:
generation_command = subprocess.run("home-manager generations".split(), capture_output=True,
text=True, check=True)
text=True, check=True, shell=True)
yield OptionList(*generation_command.stdout.split("\n")[:-1], id="home-manager-gens")
with Horizontal(id="buttons"):
yield Button(label="switch", variant="success", id="switch_hm")
Expand Down

0 comments on commit d3709ad

Please sign in to comment.