You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mark Thomas (Jira)" <ji...@apache.org> on 2020/08/24 09:46:00 UTC

[jira] [Resolved] (DAEMON-416) prunsrv.exe adding special character while executing in windows 2019

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

Mark Thomas resolved DAEMON-416.
--------------------------------
    Resolution: Fixed

I'm resolving this as fixed as the original issue appears to be a bug fixed in an earlier release and subsequent issues appear to be configuration issues.

If you are still having difficulties, first ask on the users list and, if the discussion there concludes that there is a bug, please open a Jira issue and provide the minimal steps to reproduce the issue from a clean install of the latest Commons-Daemon version.

> prunsrv.exe adding special character while executing in windows 2019
> --------------------------------------------------------------------
>
>                 Key: DAEMON-416
>                 URL: https://issues.apache.org/jira/browse/DAEMON-416
>             Project: Commons Daemon
>          Issue Type: Bug
>         Environment: Windows 2019
>            Reporter: rajiv devaraj
>            Priority: Major
>
> While executing {{prunsrv.exe}} from an earlier version of Windows, (like 2016), the below command was working. But upon introducing the same statement for Windows 2019, it's not starting the service.
> I inspected the registry to check the path in which the process was created. It seems to add a random special character before the path, which is why it's not able to start.
> Observed Path:
>  
> {{C:\<SOME_PATH>/prunsrv.exe ^E//RS//<SOME_PROCESS>}}
> Here near {{//RS}}, {{^E}} is prepended and it's random special character is generated for every execution.
> Expected Path:
>  
> {{C:\<SOME_PATH>/prunsrv.exe //RS//<SOME_PROCESS>}}
> This is the line which is responsible to initiate the process which is triggered from {{.bat}} file:
>  
> {{"%SOMEPATH%/bin/prunsrv.exe" //IS//%SERVICE_NAME%}}
> I need some help on how to remove this special character before the process is started.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)