In this environment the subprocess module raises a permission error not a FileNotFound error. So it isn't caught by the try catch.