Hi Souciance,

actually, you mix two things:

1. If you want to execute a simple command, just do:

bin/client bundle:list

2. the batch mode read directly from standard input, so you have to provide input on stdin (using pipe, tee, whatever). For instance:

echo "bundle:list" | bin/client -b

Regards
JB

On 01/03/2016 11:46 AM, souciance wrote:
Hello Jean-Baptiste

Sorry for this extremely late reply, vacation and other stuff came in
between.

However I tried to run Karaf as client and normal startup in batch mode but
I must betting the syntax incorrect.

bin/client -b bundle:list goes straight to interactive mode.

I tried with quotes or adding semicolon at the end but goes straight to
interactive mode.

How should the syntax be for providing the commands?

Thanks
Best
Souciance



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Running-Karaf-in-batch-mode-tp4044366p4044561.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to