At 2:31 PM +0100 11/25/03, Martin Buchmann wrote:
Anyway, i can launch MacPerl with this method too but nothing more. Whatever i add to the command as an argument, MacPerl is launched and that's it, nothing more.

It looked to me like the event being sent was the DoScript event. Which as John said, was being directed to MacPerl and not to your program.


Try this:
\write18{MacPerl <<full path to your script>> <<other arguments>>}

replacing <<full path to your script>> with, umm, the full path to the file containing the script you want to run, and <<other arguments>> as stuff that should go into @ARGV.

So if your "test" script file was kept at myHD:Documents:test.pl, and you wanted it to take "Hello, World" as an argument, then try
\write18{MacPerl "myHD:Documents:test.pl" "Hello, World"}


So i think the answer to my actual question is just: "No, it's not possible".

I don't think that's been determined.


-Jeff Lowrey



Reply via email to