Continually Printing Shell Activity
I apologize if this is answered elsewhere or self-evident; I'm only just beginning to learn Lisp.
I'm using inferior-shell:run
to launch a long-running task which can routinely fail (it's a build validation routine).
My main issue is that I could not find a way of seeing the "live" output of the launched activity.
The reason why I'd like a live-feed is because I could not see the output if an error happened; I looked into the ON-ERROR:
key, but it yielded little more than saying that there was an exit code of 1. This makes sense, as it seems like this key is a callback to take some kind of recovery action. However, if my task fails, I'd also like to know why it failed, and that's hidden in the output of the command, which does not seem to be accessible.
I tried calling RUN
like this:
(inferior-shell:run (pod-command file) ; this generates a string shell command from the arg FILE
:on-error #'print ; tells me that the exit code was 1
:output *standard-output* ; default, if I understand correctly
:interactive t) ; this was a shot in the dark
I'm sorry to ask for free tech support.