View `hs.execute` output in real time
andmis opened this issue · comments
Andrey Mishchenko commented
It would be great if the output of hs.execute
when run interactively from the HS console were visible in real time, instead of just all at once at the end.
Chris Jones commented
hs.execute()
is really just a thin wrapper around Lua's io.popen()
- if you want to have more control over the execution of a subtask, we have the hs.task
API which can have a callback that gets called when output is generated, rather than collecting it all at the end.