February 7th, 2008 by depesz | Tags: , | 1 comment »

i have this program, which forks-off worker processes, and then runs in them various tasks. one of the tasks is to execute some command via system(), but since we need to get stdout and stderr (separately), we used ipc::run module. simple example ...