On running this under Windows 2000 on a Pentium 4 system, it gave the following error:#!/usr/bin/perl my $pid = fork; if ($pid == 0) { # Child process print "Inside child process\n"; exit 1; } elsif ( $pid > 0 ) { # Parent process print "Inside parent process\n"; } else { # fork error print "ERROR! PID : $pid \n"; exit 1; }
The Unsupported function fork function is unimplemented
Is fork not supported on Windows 2000 ? Please do clarify..and enlighten this young monk
In reply to perl fork cmd on Windows 2000 by TheYoungMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |