Hi
I am trying to get apache compiled for mipsbe platform.
The configure script fails with the following error
message:
checking whether setpgrp takes no argument...
configure: error: cannot
check setpgrp when cross compiling
configure failed for srclib/apr...
Did anyone cross-compile...
But the problem is popen with "/bin/sh". How could I fflush the internal buffer stored by this shell.
How to use ptrs with popen. Could you please give some hints about how to do that.
thanks for ur help
pad.
Hi
I need to used popen to call a process and execute multiple commands.
e.g FILE *fd = popen("/bin/sh", "w");
while(condition) {
fwrite(each_time_command_changes,..,..,fd);
}
pclose(fd);
I have hard time to get output in between each command execution. The program sends the output only...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.