[comp.sys.mac] Sub-Launching

powsner@nlm-mcs.arpa (Seth M Powsner) (02/17/90)

I'd appreciate help with the problem of starting an application from another
under multi-finder (sys 6.0.4). I've used the info from Tech Memos 126, 180,
and 205. Translating the code in #126 to Mac Allegro Lisp worked fine.

My trouble began when I tried to skip using SFGetFile. I know
which application I want to start. So I used _OpenWD and _SetVol to try
to setup the working / default directory. It did part of the job. I could
execute _Launch and get the application going. But, the application acted
as if it were in the wrong default directory.

Now I've added code to set two globals mentioned in the SFGetFile info--
SFSaveDisk and CurDirStore. They're set with info from _HGetVol. Seems to
work. Anyone know if this is really what should be done?

Thanks in advance, Seth   powsner.medinf@yccatsmtp.ycc.yale.edu
                          powsner@mcs.nlm.nih.gov
                          powsner@YaleMed.BITNET