fork process in Unix

A

ahappydeath

Anyone know how to rewrite the script below in Unix?

foreach $dbname (@Import_Databases) {
print "$dbname\n";
Win32::process::Create( $ProcTemp,
"$Perl_Path",
"perl $Script_Path\\import_db2.pl
$dbname",
0,
CREATE_NEW_CONSOLE,
'.') or die "Couldnt fork process";
push(@ProcObj, $ProcTemp);
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

fork it 11
problem with fork 8
fork/exec question 6
fork() & pipe() 3
issue with multiprocess - fork 2
fork and blocking... 3
Fork in windows 0
Connect to MS SQL 2005 server from UNIX 7

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top