Skip to main content
Question

Realtime "capture and echo" command output


Forum|alt.badge.img+4

Hi,
I was wondering if I can be able to run a command by script, and while that command is running, capture it's realtime output and print it.

Let's make an example to be more clear:

if I run sysdiagnose, I'll be able to see a progress.

Can I capture that command progress and use it, for example, echoing that progress..?

Hope I am not too confusing and building high castles for nothing..

Thanks everyone!!

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings