title: echo $? from python
body: <p>hello I am trying to get a result back (which I KNOW is 1) from an external python script being called from my other script. when echo $? from command line I get 1 but when I try to call echo $? from the python to get the result from the python script I get 0 in the script. here is my code:</p>
  
  <pre><code> os.system(pythonPath+"serialWait.py "+dev+" "+brate+" login") //this
   os.system(pythonPath+"serialCommand.py "+dev+" "+brate+" reset") //this works      
   value = subprocess.call('echo $?', shell=True)
  &gt;//here is where my issue lies I am trying to call the exit code from the previous python script but only get the true value from terminal
  </code></pre>