Demonstration and benchmark of multiple variations to set up IPC with a subprocess