Hello I am trying to source of file say check.setup from my pythons script. Code
import os
os.system("source /fullpathhere/check.setup")
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