I'm wanting to get the output from an application that never returns
xscreensaver-command -watch
I'm basically wanting my application to sleep for x amount of time if it discovers that the screensaver has kicked in. I'm just curious what effect it might have trying to read the output of an application that never returns and how I would capture its output at various intervals.
Thanks