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/03/06 20:00:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17053735#comment-17053735 ] 

Mark Thomas commented on DAEMON-416:
------------------------------------

You are going to need to provide the steps to recreate this from a clean install of the latest DAEMON version (1.2.2 as I type this).

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