-
Dear Berk, all, I am still trying to get runitor to execute a command string that includes a pipe. I tried both:
Problem is that neither of them works i.e. runitor is not picking up stdout. Any advice? Despite >30y bash experience I struggle with this one. But then .. it's bash .. and sometimes it just gives you a headache or you don't see the tree in the middle of the forest. I'd appreciate if someone could share something that works in another install. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Runitor will copy both stdout and stderr to the ping body in v.0.6.0 unless commanded otherwise. Can you tell me what version you're running? Testing with 0.6.0:
It worked as intended for the terminal output. We wanted to filter out "foo" from stdout. "err" went to stderr, and "out" went to stdout. If we check what it send to healthchecks.io instance: So... It works as intended. Can you paste your actual command line instead of these examples? Feel free to redact your instance's URL. |
Beta Was this translation helpful? Give feedback.
Runitor will copy both stdout and stderr to the ping body in v.0.6.0 unless commanded otherwise.
Can you tell me what version you're running?
runitor -version
would tell you. If you seerunitor HEAD
, it means you built a non-dist version yourself. It's fine but it would be easier for me to try to reproduce issues if you build from a tag, or even simpler use prebuilt binaries from releases https://github.com/bdd/runitor/releases/. 0.6.0 is the latest stable release.Testing with 0.6.0:
It worked as intended for the terminal output. We wa…