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: Win32 Programming Help:
launching exe with params from script

 



rootvgusr
New User

Apr 30, 2007, 11:46 AM

Post #1 of 1 (2899 views)
launching exe with params from script Can't Post

Hello all... I am writing a sctip that will launch a gui app. I am having issues passing a parameter to the exe. It works just fine if I am not using perl (same syntax)...

Basically here is the sitch:

I want to launch "c:\idxterm\idx.exe /winsock=localhost"

(With winsock being the parameter). I have tried it both with exec and system (and do understand the diff) but it does not seem that the parm is passed correctly. My syntax is as follows:

exec 'c:\idxterm\idxterm.exe /winsock=localhost'
-or-
system "c:\idxterm\idxterm.exe /winsock=localhost"

Help me please!!! :)

 
 


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

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