title: Error in Calling python module from Java
body: <p>Java Code to call Python:</p>
  <pre><code>//arguments to be passed to the script
  String[] patchArguments = { patchFileDirectory,centralPatchStagePath,patchId,patchFileName, action };
  //initialize the interpreter with properties and arguments
  PythonInterpreter.initialize(System.getProperties(), System.getProperties(), patchArguments);
  pythonInterpreter = new PythonInterpreter();
  //invoke python interpreter to execute the script
  pythonInterpreter.execfile(opatchScriptPath + opatchScript);
  </code></pre>
  <p>Traceback (innermost last):</p>
  <blockquote>
  <p>File &quot;/scratch/app/product/fmw/obpinstall/patching/scripts/PatchUtility.py&quot;, line 4, in ?</p>
  <p>ImportError: no module named subprocess</p>
  </blockquote>
  <p>But subprocess is already installed and it runs if I execute the python file directly using terminal <code>python PatchUtility.py</code></p>
  <p>Update: I found something</p>
  <blockquote>
  <p>Jython has some limitations:</p>
  <p>There are a number of differences. First, Jython programs cannot use CPython
  extension modules written in C. These modules usually have files with the
  extension .so, .pyd or .dll.</p>
  </blockquote>
  <p>does subprocess internally calls C-extensions ?</p>