in reply to Re^3: Synchronizing Multiple System Processes
in thread Synchronizing Multiple System Processes
$| won't help. script1.pl flushed everything it had to flush on exit. (And if it didn't because of some crash, that data is gone forever. It was in the process, which longer exists. Waiting for it won't help.)