Realtime "capture and echo" command output

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-10-2020 08:58 AM
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!!
Labels:
- Labels:
-
Scripts
0 REPLIES 0
