p4raw-id: //depot/perlio@11295
dTHXo;
/* if this is a pseudo-forked child, we just want to spawn
* the new program, and return */
- if (w32_pseudo_id)
- return my_exit(win32_spawnvp(P_WAIT, cmdname, (char *const *)argv));
+ if (w32_pseudo_id) {
+ my_exit(win32_spawnvp(P_WAIT, cmdname, (char *const *)argv));
+ return 0;
+ }
#endif
return execvp(cmdname, (char *const *)argv);
}