You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added error handling for subprocess call
This commit adds error handling for subprocess calls in the shellgenius cli.py file. Specifically, when executing the generated command with subprocess.run(), if the command fails, a 'Command failed' message with the relevant error is printed to the console using click.echo(). This provides better feedback to users when a command execution fails.