develooper Front page | perl.beginners | Postings from February 2002

forking in NT

srinivas krish
February 13, 2002 05:53
forking in NT
Message ID:

I have to make a platform independent script that will
start a server and client in the script. I attempted
this using fork method. Although the script runs well
in UNIX, it does not run on Nt - giving the error:
The process cannot access the file because
it is being used by another process.
The Unsupported function fork function is
unimplemented at
 line 60.
I have Active Perl 5.6 in my case. Even the document
says that "On some platforms such as Windows where the
fork() system call is not available, Perl can be built
to emulate fork() at the interpreter level. "

can anyone guide as to how the script can be made to
run in UNIX and DOS(I am using cygwin32 for NT)?


Looking for a job?  Visit Yahoo! India Careers
      Visit Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About