Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 160
  • Last Modified:

fork on nt4

the fork command does not work in my scripts. I am running activeperl on nt4. Is there away to get around this problem?
0
ninthlife
Asked:
ninthlife
1 Solution
 
b2piCommented:
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now