On 13 Oct 2012, at 20:44, Camillo Bruni wrote:

> how hard would it be to change the image file to include a shebang on the 
> first line?
> 
> for instance:
> 
> #!/usr/bin/env pharo -headless
> 
> like that images would serve as "almost" script files?
> I image something like everything until the first 0 or 
> newline byte is ignored when loading the image...

It is supported, see for instance: 
http://marc.info/?l=squeak-vm-dev&m=124049248310307&w=2


-- 
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax:   +32 2 629 3525


Reply via email to