psi_mode_popen to PSI_MODE_POPEN