Rich <ri...@example.invalid> writes:
> Cecil Westerhof <
Ce...@decebal.nl> wrote:
>> I have the following command:
>> exec youtube-dl -f ${format} -o %(title)s-%(id)s.%(ext)s ${link}
>>
>> I would like to have the from the youtube-dl command going to the
>> console. How could I do that?
>
> What OS?
In my case Linux, but I like to write code that is system independent.
> If Linux, just use exec's redirect option to redirect stdout to
> /dev/stdout (and start your program from a xterm, rxvt, or other
> terminal).
Of-course. I should have thought about that.
> If Windows, well, you've got some work to do in that case.
I already found a reasonable solution. The nice thing about this one
is that I can put the output also in a logging database.