Home > OS >  Linux popen timeout
Linux popen timeout

Time:10-05

In my c + program under Linux by popen calls a Linux command to but the Linux command itself will produce a large file, is expected to more than 10 g, so it can be very time consuming and memory, the resources of the system itself is enough, but the question now is did not return value popen and program directly exit off (single-threaded program itself, and no explicit timeouts), popen there will be a timeout or a limit in the memory, how is it possible to make the normal call popen
  • Related