Skip to content

Commit

Permalink
Run command quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elkinaguas authored May 13, 2024
1 parent f909799 commit b4d882d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clir/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def run_command(self):
command = _replace_arguments(command)
if uid and command:
print(f'[bold green]Running command:[/bold green] {command}')
os.system(command)
subprocess.Popen(['bash', '-ic', 'set -o history; history -s "$1"', '_', command])

def copy_command(self):
Expand Down

0 comments on commit b4d882d

Please sign in to comment.