TheYoungMonk has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl fork cmd on Windows 2000
by tachyon (Chancellor) on Dec 17, 2002 at 09:36 UTC | |
by TheYoungMonk (Sexton) on Dec 17, 2002 at 13:21 UTC | |
by Rich36 (Chaplain) on Dec 17, 2002 at 14:35 UTC | |
by TheYoungMonk (Sexton) on Dec 18, 2002 at 05:36 UTC | |
by BrowserUk (Patriarch) on Dec 18, 2002 at 05:59 UTC | |
by tachyon (Chancellor) on Dec 17, 2002 at 21:58 UTC | |
|
Re: perl fork cmd on Windows 2000
by mce (Curate) on Dec 17, 2002 at 13:55 UTC | |
|
Re: perl fork cmd on Windows 2000
by PodMaster (Abbot) on Dec 17, 2002 at 22:34 UTC |