Logstash 2.3.4 as Windows Service using Apache procrun

I'm getting the following errors when running "logstash.bat agent -f C:\temp\scribe\data\logstash\config --debug":

/usr/bin/stty: standard input: Inappropriate ioctl for device
io/console not supported; tty will not be manipulated
No such command "agent -f C:\temp\scribe\data\logstash\config --debug"

Followed by Usage info.

I've run with both types of slashes, and without "agent" argument. Any ideas?

Found the problem & solution. prunsrv (wrapper that calls the service) is adding double quotes around all arguments. I modified a version of logstash.bat to strip quotes using "%~1"