[ 
https://issues.apache.org/jira/browse/DAEMON-356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Thomas resolved DAEMON-356.
--------------------------------
    Resolution: Invalid

Java doesn't work this way but only because the Java executable strips the 
surrounding quotes for you so you don't have to.  This is simply a feature of 
how Java passes command line arguments to your main class.

> prunsrv in exe mode (not Java or JVM) passes arguments in double quotes
> -----------------------------------------------------------------------
>
>                 Key: DAEMON-356
>                 URL: https://issues.apache.org/jira/browse/DAEMON-356
>             Project: Commons Daemon
>          Issue Type: Improvement
>          Components: Procrun
>    Affects Versions: 1.0.15
>         Environment: Running on Windows 2012
>            Reporter: Mike Conner
>
> I created service the using StartParams argument (contains spaces and other 
> special characters).  Called process (StartImage argument as either bat 
> script & exe) receive the arguments surrounded by double quotes.  This 
> requires a wrapper to remove the quotes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to