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

Re: [MacPerl] "Exec" Work Around?



Richard Rathe writes 22-JUL-1996:

>Since the "exec" function in MacPerl does not seem to be implemented, how
>does one launch another program (WebStat for example) from within a MacPerl
>CGI? Thanks, RR
>
>                   R  i  c  h  a  r  d      R  a  t  h  e
>                           rrathe@dean.med.ufl.edu
>                       http://www.med.ufl.edu/medinfo/

One way would be through the &MacPerl::DoAppleScript($script); call
$script has to contain the text of what will run as a valid AppleScript on your 
machine. One could use the script editor recorder to record it then copy it 
into your MacPerl script e.g.

Peter Prymmer
pvhp@lns62.lns.cornell.edu