Page 1 of 1

How to capture stderr with RunOutput ?

Posted: Mon Aug 17, 2026 4:34 pm
by bitRocky
Hi,

I can capture normal output of command line programs, but the error output is not captured.
This is only possible when redirecting the " *> " output to a file and then read it manually to check if there is new output.

Is there a better way to also capture the stderr output of programs?

Would be nice to specify a option to also capture the stderr (*>) output with the RunOutput event

Re: How to capture stderr with RunOutput ?

Posted: Sun Aug 23, 2026 8:46 pm
by airsoftsoftwair
Actually, this should work already. Which platform did you test this?

Re: How to capture stderr with RunOutput ?

Posted: Sun Aug 23, 2026 9:54 pm
by bitRocky
I'm on MorphOS and have added support for yt-dlp in ytSearch.
The error output of yt-dlp is not captured.
It's always outputted to a window.

I have workaround it by redirecting stderr (with *>) to a file.
But the (not sooo big) problem is that I only can read from the error output file after yt-dlp finished, because it's locked while it's running.