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
Final chapter of "Learn PHP, MySQL and JavaScript" 3
fork/exec question 6
fork() & pipe() 3
issue with multiprocess - fork 2
fork and blocking... 3
Fork in windows 0

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top