commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DAEMON-356) prunsrv in exe mode (not Java or JVM) passes arguments in double quotes
Date Wed, 09 Nov 2016 13:40:58 GMT

     [ 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)

Mime
View raw message