后台进程
摘要:
今天遇到一个perl启动后台进程的问题,就是是在启动命令后面加"&"的进程还是顺序,特做此小实验。a.pl调度View Code #!/usr/bin/perl -wuse Data::Dumper;my $cmd1="perl b.pl &";my $cmd2="perl b.pl &";my @result=`$cmd1`;my @result1=`$cmd2`;#system($cmd1);#system($cmd2);print Dumper(@result),"\n";print 阅读全文
posted @ 2013-04-18 10:06 Firetw 阅读(114) 评论(0) 推荐(0) 编辑