再请大家帮忙看段代码

再请大家帮忙看段代码

再请大家帮忙看段代码
再请大家帮忙看段代码:(红色的部分)
$logtime=localtime;
print LOG_FILE "$logtime Operator confirmed ARDU1D did not complete successfully. Terminating SD3 batch run.\n\n";
close(LOG_FILE);
use Win32::Process;
$app = "$npad_dr".":"."\\winnt\\system32\\notepad.exe";
$prog = "notepad SD3.log";
[color=red]Win32::Process::Create($proc, $app, $prog, 0, CREATE_NEW_CONSOLE, ".");[/color]

谢谢!!
die "\nTerminating SD3 batch run !\n";

Win32::Process::Create($.
Win32::Process::Create($obj,$appname,$cmdline,$iflags,$cflags,$curdir)
Args:

$obj container for process object
$appname full path name of executable module
$cmdline command line args
$iflags flag: inherit calling processes handles or not
$cflags flags for creation (see exported vars below)
$curdir working dir of new process
谢谢,y6cme.你的答案很专业!!
谢谢,y6cme.你的答案很专业!!

[CCB]1[/CCB]
[CCB]6[/CCB]
hehe,thank you,y6cmE.
hehe,thank you,y6cmE.
看 Win32::Process 的文档.
看 Win32::Process 的文档不就可以了? http://search.cpan.org/~jdb/libwin32-0.27/Process/Process.pm
haha, thank you too!--.
haha, thank you too!

[CCB]2[/CCB]