Set progress of the node based on external tool

Hello guys,

Is there a way to get ouput from external tool before the external tool is finished ? The external tool is outputing something on a console and i want to get this output during the execution of the node/external tool and update the progress text of the node based on this ouput.

Like in a loop to read external output until the command is done and set progress based on that.

I'm using CommandExecuting for executing external tool and i have node implemented from ExtToolOutputNodeModel.

 

Thanks.