How to pass command-line parameters to a Perl script executed from Python
<p>I have written this code to run a Perl script from my Python script:</p>

<pre><code>#!/usr/bin/python

import subprocess

var = "/some/file/path/"
pipe = subprocess.Popen(["perl", "./SignalPktSender.pl ", var], stdin=subprocess.PIPE)
</code></pre>

<p>But my perl script needs command line arguments. How can I pass command arguments to the Perl script when it is run from my Python script? </p>
