I used the functionality shell.on('message', function(message){ console.log(message) }), and I am able to collect all output of my script, and log it AFTER the script has finished. I would like to parse output as it is printed (dynamically) so that I may implement a progress bar in my electron app. Is this possible with python-shell?
I used the functionality
shell.on('message', function(message){ console.log(message) }), and I am able to collect all output of my script, and log it AFTER the script has finished. I would like to parse output as it is printed (dynamically) so that I may implement a progress bar in my electron app. Is this possible with python-shell?