[Pharo-project] Support for stdout without OSProcess (issue 4065)

Stefan Marr pharo at stefan-marr.de
Sun May 15 20:08:50 CEST 2011


On 15 May 2011, at 19:20, Stefan Marr wrote:

> On 15 May 2011, at 19:06, Stéphane Ducasse wrote:
>> david 
>> how do we use it from the image to print on stdout?
> The primitive is supposed to return the file handles, and they can be used like normal files, I guess.
> See http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/154784

After filing in Eliot's change set from this mail:

StandardFileStream stdout nextPutAll: 'bar'.

works beautifully with http://squeakvm.org/mac/release/Squeak%

However, there is some regression with that VM, it does not take the image on the command line.

I am used to:
/Applications/Squeak\ 4.2.5beta1U.app/Contents/MacOS/Squeak\ VM\ Opt Pharo-1.2.image HelloWorld

/Applications/Squeak\ Pharo-1.2.image HelloWorld
just opens a file dialog.
I have to give the full file name.

Esteban: is that a know regression?


Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
Phone: +32 2 629 2974
Fax:   +32 2 629 3525

More information about the Pharo-project mailing list