B4J Question [Jshell] I want to read StdOut or StdErr

ludogomez

Member
Licensed User
Longtime User
HI,

I want to execute a command with jshell but this command can be long. This command send log in stdErr during execution.
How can I read the StdOut or StdErr ?

I try with RunWithOutputEvents but I'm a newbie and I don't understand the use of buffer.

Is it possible to have an example ?

Thanks a lot

Regards
 
Top