The shell command $ avrdude -c usbtiny outputs text to stderr. I cannot read it with commmands such as head-less-more cos it is not stdout. I want the text to stdout or to a file. How can I do it in C? I have tried to solve the problem by my last question but still unsolved.
The shell command $ avrdude -c usbtiny outputs text to stderr. I cannot read
Share
I’ve not tried something like this in OpenBSD, but in at least a few *nix-like systems, you can do this using
dup2.