jfromaniello / winser

Run a node.js application as a window service using nssm.
270 stars 47 forks source link

Fix typos and using single instance of set #43

Open Codesleuth opened 8 years ago

Codesleuth commented 8 years ago

We were trying to set the log output path with the following command:

winser -i -a --set "AppStdout some.log"

However, this was actually trying to call set for each character in the argument. This PR detects the argument as a string then creates a single element array of that argument, so set is called only once.

Also, we fixed a few typos.

Fixes #40