stderr in pipe



How can I get stderr into a pipe?
	popen("ls 2>&1","r");
works but I have to distinguish stderr and stdout.

-- 

Gruß King Leo

------------------------
| (__)    (__)    (__) |   
| ( oo    (oo)    oo ) |           
| /\_|    /\/\    |_/\ |           
------------------------
|  The Cow is with me  |
------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]