in reply to Furmark & Speedfan command line in perl
Howdy wangruonan, welcome to the Monastery!
I take it your question is how to pass command line arguments to the programs you're calling? Quoting the documentation for Win32::Process:
Win32::Process::Create($obj,$appname,$cmdline,$iflags,$cflags,$curdir)
Creates a new process.
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
In other words, just replace "notepad.txt" in your script with strings containing the desired arguments.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Furmark & Speedfan command line in perl
by Anonymous Monk on Sep 05, 2014 at 09:53 UTC | |
|
Re^2: Furmark & Speedfan command line in perl
by wangruonan (Initiate) on Sep 08, 2014 at 09:42 UTC | |
by AppleFritter (Vicar) on Sep 08, 2014 at 10:03 UTC | |
by wangruonan (Initiate) on Sep 08, 2014 at 14:52 UTC |