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

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Win32 Programming Help:
launching exe with params from script


New User

Apr 30, 2007, 11:46 AM

Post #1 of 1 (3876 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'
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