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
#Call execute_shell_command function from execute_shell_command.py script, result will have result return from shell command, status will have status of that command
result, status = shell.execute_shell_command(command)
#Check status of command ran, status != 0 means command failed
if status != 0:
print("Exception in running shell command")
sys.exit(1)
else:
# Take required action on result return after running shell command