On 2/19/2013 11:55 AM, Kiran J wrote:
Thanks guys.I ended up setting the working folder in ProcessStartInfo.WorkingDirectory & it works fine. Batch file though it works, I am not able to kill the Solr process from code if I need to.
If you start jetty like this: java -DSTOP.PORT=8079 -DSTOP.KEY=mysecret -jar start.jar Then you can later run this command to stop it: java -DSTOP.PORT=8079 -DSTOP.KEY=mysecret -jar start.jar --stop Thanks, Shawn