karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Jira) <j...@apache.org>
Subject [jira] [Comment Edited] (KARAF-6514) The client.bat does not work for a quoted argument
Date Wed, 08 Jan 2020 10:43:00 GMT

    [ https://issues.apache.org/jira/browse/KARAF-6514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17010560#comment-17010560
] 

Jean-Baptiste Onofré edited comment on KARAF-6514 at 1/8/20 10:42 AM:
----------------------------------------------------------------------

It's possible to do directly:
{code:java}
bin\client.bat -- "shutdown -f" {code}
I just tested on Windows 10 VM and it works fine.


was (Author: jbonofre):
It's possible to do directly:
{code:java}
bin\client.bat -- "shutdown -f" {code}

> The client.bat does not work for a quoted argument
> --------------------------------------------------
>
>                 Key: KARAF-6514
>                 URL: https://issues.apache.org/jira/browse/KARAF-6514
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.7
>         Environment: Windows
>            Reporter: Douglas Jackson
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>              Labels: client, windows
>             Fix For: 4.3.0, 4.2.8
>
>
> If you use the client.bat to do a remote shutdown, it gives a message
> {color:#FF0000}'miss the commands file'{color}.
> The fix for https://issues.apache.org/jira/browse/KARAF-6257 improved the
> client.bat on Windows, but for an argument like "shutdown -f", it looks like the
> quotes are lost as it behaves like the -f is a separate argument from the shutdown.
> If you try "shutdown" without the -f, it tells you that the -f is required.
>  
>  



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

Mime
View raw message