[Pharo-project] Support for stdout without OSProcess (issue 4065)
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:
>> 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%184.108.40.206.zip
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\ 220.127.116.11.app/Contents/MacOS/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?
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