when I run a program with popen(command, "r"), does it redirect stdout and stderr, or does it only redirect stdout?
Only stdout.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.