enthuguy
asked on
Python3 subprocess.call exception handling
Hi experts,
what is the best way to handle exception in below python3 subprocess scenario please?
I execute below line in my python script.
could you suggest a best way to handle exception please? try/except?
Thanks in advance
what is the best way to handle exception in below python3 subprocess scenario please?
I execute below line in my python script.
subprocess.call(['aws', 'ec2', 'start-instances', '--instance-ids', instance , '--output', 'table'])
could you suggest a best way to handle exception please? try/except?
Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ASKER
Will try and update you