cd into another directory to execute a script
<p>I need to cd into a particular directory to run a jar package. This is what I'm currently trying to do, albeit unsucessfully:</p>

<pre><code>subprocess.call(['cd','sales'])
subprocess.call(shlex.split("""java Autoingestion %s %s %s Sales Daily Details %s"""%                                                                         
            (self.username, self.password, self.vendor_number, self.date)))
</code></pre>

<p>How would I correctly cd into the sales folder and execute this script?</p>
