Mar-01-2024, 11:36 PM
(This post was last modified: Mar-01-2024, 11:46 PM by deanhystad.)
Get rid of the try/except. Check the return value of subprocess.call(instruction) to determine if the instruction was successful or not. An instruction that returns an error does not raise an exception.