Daemon process which accepts arguments and returns results
<p>This is the scenario.</p>

<p>Run a python script in background.
Call this script using perl with arguments and returns a result to stdout. </p>

<p>How do I write this python script ? </p>

<p>Basically the question is how do I pass arguments to a running program ?  Is this possible (via threads/subprocess/etc/., ) ? else how do I approach this problem ?</p>
