title: unable to source bash file from python shell script
body: <p>Hello I am trying to source of file say check.setup from my pythons script.
  Code</p>
  
  <pre><code>import os
  os.system("source /fullpathhere/check.setup")
  </code></pre>
  
  <p>It says command not found. Surprisingly I can source the same file directly from the shell.
  check.setup is csh file. It is sourcing other .csh files and setting few environment variable I saw few answers here but no one could possibly solve the problem.
  PS: I tried to write bash file instead of python. I also tried using subprocess.Popen. Problem persists.
  Aashish</p>