in reply to Re^2: Multiple commands with one system callin thread Multiple commands with one system call
You might look at IPC::System::Simple , it makes collecting return values simple. Read the Advanced Synopsis for examples.