<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi all,</DIV>
<DIV> </DIV>
<DIV>I'm landing here because I need some help that I couldn't get through it.</DIV>
<DIV>Question 1. </DIV>
<DIV>I want to call a source command from python script. It will source some variables enviroment for further commands. I tried the following which did not work</DIV>
<DIV>os.sys('source '+source_text)</DIV>
<DIV>call(['source',source_text], shell=True)</DIV>
<DIV>commands.getoutput('source '+source_text)</DIV>
<DIV> </DIV>
<DIV>Anyone have experiences with this? Because I'm very new to this world so a details reply is really appreciated!!! thank you very much</DIV>
<DIV> </DIV>
<DIV>Question 2.</DIV>
<DIV>I call a shell command from python, this time it runs a script which runs some ruby scripts. And the error returns: "ruby: command not found"</DIV>
<DIV> </DIV>
<DIV>Thank you again</DIV></td></tr></table><br>