in reply to Multiple Instances
Rather than using the ~ 1 "M" 2 "007" 3 "MI6" ~ format, just provide the arugments you want to each instance of the EXE to the Perl script as arguments.
#!/usr/bin/perl use strict; foreach (@ARGV) { system ("James.exe $_") }
Then simply use:
bond.pl M 007 "MI-6" "this is how youd send multiple to one EXE instan +ce"
to run
James.exe M James.exe 007 James.exe MI-6 James.exe this is how youd send multiple to one EXE instance
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Multiple Instances
by GrandFather (Saint) on Mar 12, 2009 at 00:51 UTC | |
by VinsWorldcom (Prior) on Mar 12, 2009 at 03:06 UTC | |
by GrandFather (Saint) on Mar 12, 2009 at 04:09 UTC | |
by VinsWorldcom (Prior) on Mar 12, 2009 at 12:33 UTC |