CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Trouble with controlling an external progam

 



zoomer003
Novice

Jun 7, 2010, 11:10 AM

Post #1 of 2 (1274 views)
Trouble with controlling an external progam Can't Post

@simplex = ('C:\Program Files\Spirent Communications\SimPLEX\simplex.exe', $simfile);
system(@simplex) == 0 or die "system @simplex failed: $?";


hey this code works fine with open the desired program .. but i actually want to control wat that external program does .. how would i be bale to do !!!!!!!! ???
thank you!!!!!


rovf
Veteran

Jun 8, 2010, 5:06 AM

Post #2 of 2 (1268 views)
Re: [zoomer003] Trouble with controlling an external progam [In reply to] Can't Post

Create a file c:\I_have_to_do_this.txt, and, before starting simplex.exe, write into this file, in plain English, what Simplex is supposed to do.

In the unlikely case that simplex.exe has a different way of getting its user input, it would help to describe how you usually tell simplex.exe what it has to be done (i.e. without using Perl) - say,
passing arguments on the command line, setting up a socket connection, setting environment variables, or whatever. Than we can help you better....

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives