You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bernd Eckenfels (JIRA)" <ji...@apache.org> on 2010/08/05 19:05:20 UTC
[jira] Created: (DAEMON-169) Procrun: cannot specify PATH
Environement variable because of semicolon separator
Procrun: cannot specify PATH Environement variable because of semicolon separator
---------------------------------------------------------------------------------
Key: DAEMON-169
URL: https://issues.apache.org/jira/browse/DAEMON-169
Project: Commons Daemon
Issue Type: Bug
Components: Procrun
Affects Versions: 1.0.3
Environment: Windows XP SP3
Reporter: Bernd Eckenfels
Priority: Minor
When specifying a --Environment PATH=C:\Windows\system32;C:\Windows this does not work, cause it is parsed/separated by the ; char and stored into multiple lines in the Registry. Maybe using only # as a seperator is a option or perhaps adding some form of quoting or a special argument form which does not take a list of parameters.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DAEMON-169) Procrun: cannot specify PATH
Environement variable because of semicolon separator
Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DAEMON-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mladen Turk resolved DAEMON-169.
--------------------------------
Assignee: Mladen Turk
Resolution: Invalid
Just put the parameter inside single or double quotes and it won't get expanded to multiple entries
if contains ; or # separator chars.
> Procrun: cannot specify PATH Environement variable because of semicolon separator
> ---------------------------------------------------------------------------------
>
> Key: DAEMON-169
> URL: https://issues.apache.org/jira/browse/DAEMON-169
> Project: Commons Daemon
> Issue Type: Bug
> Components: Procrun
> Affects Versions: 1.0.3
> Environment: Windows XP SP3
> Reporter: Bernd Eckenfels
> Assignee: Mladen Turk
> Priority: Minor
>
> When specifying a --Environment PATH=C:\Windows\system32;C:\Windows this does not work, cause it is parsed/separated by the ; char and stored into multiple lines in the Registry. Maybe using only # as a seperator is a option or perhaps adding some form of quoting or a special argument form which does not take a list of parameters.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DAEMON-169) Procrun: cannot specify PATH
Environement variable because of semicolon separator
Posted by "Bernd Eckenfels (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DAEMON-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896029#action_12896029 ]
Bernd Eckenfels commented on DAEMON-169:
----------------------------------------
Thanks Mladen for the answer, I actually tried double quotes in various ways and it did not work. I could get a single line Argument with """PATH=a;b""" but in that case the quotes ended up in the registry. Using single quotes (tick) solved this problem: --Environment 'PATH=a;b'
It does not show up in the verbose logs, but I guess it is still fine.
> Procrun: cannot specify PATH Environement variable because of semicolon separator
> ---------------------------------------------------------------------------------
>
> Key: DAEMON-169
> URL: https://issues.apache.org/jira/browse/DAEMON-169
> Project: Commons Daemon
> Issue Type: Bug
> Components: Procrun
> Affects Versions: 1.0.3
> Environment: Windows XP SP3
> Reporter: Bernd Eckenfels
> Assignee: Mladen Turk
> Priority: Minor
>
> When specifying a --Environment PATH=C:\Windows\system32;C:\Windows this does not work, cause it is parsed/separated by the ; char and stored into multiple lines in the Registry. Maybe using only # as a seperator is a option or perhaps adding some form of quoting or a special argument form which does not take a list of parameters.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.