Make notification section

Hi,
I want to inform simple status of current running command as below

system(command_str) # run a command
# when command in running the shell shows that : "command in running for
### seconds"
# when command finished :"command finished after #### seconds"

Which Modules and methods i should use ?
Thanks

Him

ยทยทยท

On , ng khanh wrote:

Hi,
I want to inform simple status of current running command as below

system(command_str) # run a command
# when command in running the shell shows that : "command in running for
### seconds"
# when command finished :"command finished after #### seconds"

Which Modules and methods i should use ?

You probably want to use module Open3 - RDoc Documentation
and with probably #popen2 or @popen3.

W.

--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.