[
https://issues.apache.org/jira/browse/DAEMON-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926586#action_12926586
]
Sebb commented on DAEMON-185:
-----------------------------
A similar problem happens with prunsrv:
bq. prunsrv //1234
EventType : BEX P1 : prunsrv.exe P2 : 1.0.4.0 P3 : 4cbfeb12
P4 : prunsrv.exe P5 : 1.0.4.0 P6 : 4cbfeb12 P7 : 000013d8
P8 : c0000409 P9 : 00000000
However
bq. prunsrv //123
results in:
[2010-10-30 15:48:49] [error] Unrecognized cmd option //123
[2010-10-30 15:48:49] [error] Invalid command line arguments
[2010-10-30 15:48:49] [error] Commons Daemon procrun failed with exit value: 1
(Failed to parse command line arguments)
which is better than the prunmgr message.
> prunmgr does not handle invalid command lines well
> --------------------------------------------------
>
> Key: DAEMON-185
> URL: https://issues.apache.org/jira/browse/DAEMON-185
> Project: Commons Daemon
> Issue Type: Bug
> Affects Versions: 1.0.4
> Environment: WinXP/SP3
> Reporter: Sebb
>
> prunmgr does not handle invalid command lines well.
> bq. prunmgr //1234
> causes a crash:
> EventType : BEX P1 : prunmgr.exe P2 : 1.0.4.0 P3 : 4cbfeb21
> P4 : prunmgr.exe P5 : 1.0.4.0 P6 : 4cbfeb21 P7 : 000013d8
> P8 : c0000409 P9 : 00000000
> bq. prunmgr //123
> results in the error message:
> {quote}
> An attempt has been made to operate on an impersonation token by a thread
> that is not currently impersonating a client. (0)
> Error parsing command line
> {quote}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.