title: How can I get my python (version 2.5) script to run a jar file inside a folder instead of from command line?
body: <p>I am familiar with using the <em>os.system</em> to run from the command line. However, I would like to be able to run a jar file from inside of a specific folder, eg. my 'test' folder. This is because my jar (located in my 'test' folder) requires a file inside of my 'test' folder. So, how would I write a function in my script that does the following: <code>c:\test&gt;java -jar run_this.jar required_parameter.ext</code> ? I'm a python newbie so details are greatly appreciated. Thanks in advance.   </p>