You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mike Conner (JIRA)" <ji...@apache.org> on 2016/10/24 13:05:58 UTC
[jira] [Commented] (DAEMON-356) prunsrv in exe mode (not Java or
JVM) passes arguments in double quotes
[ https://issues.apache.org/jira/browse/DAEMON-356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15601929#comment-15601929 ]
Mike Conner commented on DAEMON-356:
------------------------------------
Found if I have multiple StartParams (1 for each argument without a space) prefixed with ++, it works fine (no double quotes). Would be nice if this was documented. I don't believe this is how StartParams work for java mode
> 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)