Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8281B200BB7 for ; Wed, 9 Nov 2016 14:41:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 814A0160B0F; Wed, 9 Nov 2016 13:41:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0603C160AF7 for ; Wed, 9 Nov 2016 14:41:00 +0100 (CET) Received: (qmail 73251 invoked by uid 500); 9 Nov 2016 13:40:58 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 73217 invoked by uid 99); 9 Nov 2016 13:40:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2016 13:40:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8298E2C2A6A for ; Wed, 9 Nov 2016 13:40:58 +0000 (UTC) Date: Wed, 9 Nov 2016 13:40:58 +0000 (UTC) From: "Mark Thomas (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DAEMON-356) prunsrv in exe mode (not Java or JVM) passes arguments in double quotes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 09 Nov 2016 13:41:01 -0000 [ 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)