Mikhail Dobrinin created DAEMON-341:
---------------------------------------

             Summary: prunsrv injects garbage into ImageData
                 Key: DAEMON-341
                 URL: https://issues.apache.org/jira/browse/DAEMON-341
             Project: Commons Daemon
          Issue Type: Bug
          Components: Procrun
    Affects Versions: 1.0.15
         Environment: Windows Server 2008
            Reporter: Mikhail Dobrinin


Here is a reproducible example that works every time:
{noformat}
prunsrv.exe //IS//abcd.branch2 --StartMode=jvm 
--StartClass=abc.abcdefghih.abcd.abcdef.abcd.MyImportantClass 
--StartMethod=startService ++StartParams=abcd.branch2
{noformat}

The ImageData entry for the service ends up being:
{noformat}
C:\path\to\prunsrv.exe 12-08.loɥ//RS//abcd.branch2
{noformat}

As you see, there is garbage inserted in front of the {{//RS//}} string.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to