title: Exception handling with python subprocess.run
body: <p>I am new to Python. I need to catch all the error / exceptions from subprocess.run.</p>
  
  <p>Currently, I have a Python file which has subprocess.run(<strong>shell script</strong>) [ runs a shell script ]</p>
  
  <p>I need to catch all the exceptions from this process,</p>
  
  <p>I tried except '<strong>Exception as e: print(e)</strong>' but couldn't see all the errors.</p>