[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Calling a program frame MacPerl



1. Everytime I've tried posting this message it has bounced, so I apoligize if it's 
   getting thru and nobody knows or wants to know the answer. But I haven't gotten
   a reply.

2. The question:

I need to call "X.EXE" from a MacPerl where X.EXE is unknown.

I know I call an AppleScript and to a tell and X.EXE will run, but I have to hardcode the
path and program name in.  As I said the program name is unknown so this requires the user
alter the Perl script by hand, not my first choice.

Any suggestions?

My first thought is to have MacPerl create a samll MacPerl script which calls an Applescript.
However I can't figure out how call MacPerl from MacPerl (I can do it on UNIX and DOS, but
I've been using the Mac for less than a month). Is this possible?

Is there a better method to call a program?


tim