Replace try/catch with a test of the return value of the exec() call
Replace the unnecessary try/catch with code to check the return value of the exec() function
Replace the unnecessary try/catch with code to check the return value of the exec() function