karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Weule <we...@7b5.de>
Subject Karaf Shell commands returning an object: Why is the returned object printed to console?
Date Mon, 27 Mar 2017 09:52:20 GMT
Hallo,

if a shell command (action) is returning an object, the string
representation is printed to console. Why is that done automatically. If
needed these objects can be printed by „shell:echo $returnedObject” .

If the object is a map, the output could be very long. If assigned to a
variable, methods of the object can be used to select the data needed to
be printed.

I could not find any documentation describing the behaviour of the shell
if objects are returned.

With kind regards

Jörg

Mime
View raw message