I want to execute a child process in perl. I also want my code to be platform independent (same for windows as well as unix, except some glitches like filepath etc.).

The problem is perl implementation of fork in windows, is a pseudo-process, actually a thread. Please refer to the perl fork emulation for windows here.

It also mentions about problems in executing kill and exec commands on pseudo-processes. Would it be safe to use two different version of fork for different platforms or should I go with OS specific APIs?

Edit
Report