I run cowsay, which asks me to input text string. Then, it prints the result to stdout.
I want to redirect that result to zwrite instead of stdout.
The issue is that I can't do cowsay | zwrite because after I run cowsay, it runs in REPL asking me to input the argv , then it prints the result to stdout. In this case, I can't think of a way to redirect its output.