Safer communication between processes