title: How to call python function using process builder
body: <p>I want to call a function from a python file and its working properly if I run the command through terminal.
  Name of my python file is <code>test.py</code>:</p>
  
  <p>I went to directory where my python file is kept and run this command:</p>
  
  <pre><code>python -c 'from test import *;
  print myPythonClass().jpg2bmp("/home/vaishali/Desktop/images/27Dresses_D.jpg")'
  </code></pre>
  
  <p>But I want to run this command through Java.
  I tried:</p>
  
  <pre><code>Process proc = Runtime.getRuntime().exec("python -c 'from test import *;
  print myPythonClass().jpg2bmp(\"/home/Desktop/images/27Dresses_D.jpg\")'");
  </code></pre>
  
  <p>but its not working may be some minor mistake.
  Even I want to pass filename as argument. How can this be done?
  If you know something related to this then pls share</p>