set the working directory of the wrapped process with the location of the winsw executable, or the path defined in the configuration file.
I probably touched the code from work, so I'm adding them as the copyright owner to err on the safe side. The license is still MIT license, so this shouldn't have any practical impact.
This is "-s ours" merge to indicate that we've incorporated all the changes via cherry-picking.
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@49 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa (cherry picked from commit 64c156d)
whitespace in arguments correctly cherry picked c542409
Cherry picked 83380bd
Expand the logpath attribute using environment variables