Solved

fork on nt4

Posted on 1998-08-12
1
153 Views
Last Modified: 2010-03-05
the fork command does not work in my scripts. I am running activeperl on nt4. Is there away to get around this problem?
0
Comment
Question by:ninthlife
1 Comment
 
LVL 5

Accepted Solution

by:
b2pi earned 100 total points
ID: 1209247
Unfortunately, not in any absolute way.  However, it depends on what you want to accomplish.  If you just want to run a process, you can

system(process);

If you want to run it in the background,
you can do

open(PH, "process &") || die "couldn't start process";

but you'll note that this method doesn't allow you to monitor the process.  If you need to monitor the process, the win32 library has Create and Wait process calls ...

0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question