in reply to capturing output of system call inside a thread

System() creates its own fork and does not return any output. That may be why you don't log anything.

Dum Spiro Spero
  • Comment on Re: capturing output of system call inside a thread