|
From: Martin D. <nex...@qu...> - 2006-05-08 14:01:42
|
Erik Schmidt wrote:
> This code is for a mac
>
> why does this not work?
>
> FILE* pipe=popen("top","top");
You request invalid permissions for the pipe. The code should be
FILE* pipe=popen("top","r");
Then you can read from that pipe.
Happy coding,
next_ghost
|