Hi Samuel,

It should be the case.

Karaf shell intercept the std and err output stream.
It means that after a System.out.println(), the Karaf prompt should be display. It's the case in the commands. For instance, osgi:list iterates on the bundles and simply display the bundles attribute using System.out.println().

Try to add a System.out.println("") at the end of your bundle output, it should display the prompt just after your bundle output.

Regards
JB

On 05/14/2011 03:10 AM, Samuel Cox wrote:
Hi,

Is it possible to get the prompt back after some bundle code does a
System.out.println()?

I have some beans that need to print stuff to the Karaf console.  I
can't figure out how to get the prompt back without the user hitting
enter.

Many thanks.

Reply via email to