Q: Spawning a new Squeak

John M McIntosh johnmci at smalltalkconsulting.com
Thu Feb 7 17:48:58 UTC 2008


The macintosh carbon VM does this in the VM. When you double click an  
*.image file we actually get a OS-9 apple event telling us to open
this document(s) Normally we stick this data onto the drag and drop  
queue for processing as drag and drop events in the Smalltalk Code.

However an image file we actually invoke an apple script in the VM to  
start the image up using the current executable and then set that  
application
as the foreground process.

On a traditional unix system normally opening another document via   
your visual file system interface  would start another VM automatically.

Of course this could be also done via OSProcess, or FFI

On Feb 7, 2008, at 3:53 AM, subbukk wrote:

> Hi,
>
> I find it strange that Squeak's filelist dialog can identify and  
> process many
> types of files but not an *.image file. Is it possible for Squeak to  
> launch a
> separate VM process to run a image file or to switchover from  
> current image
> to the new image? Has anyone done it before?
>
> Thanks in advance .. Subbu
>

--
= 
= 
= 
========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================





More information about the Squeak-dev mailing list