Hi, I am trying to follow the advice using OSProcess but I get an error message saying: "process accessor module not available" I am running on Win7, could that be the problem? Saludos! Nico. blog: nicopaez.wordpress.com On Mon, Apr 4, 2011 at 1:38 PM, David T. Lewis <lewis@mail.msen.com> wrote:
On Mon, Apr 04, 2011 at 02:46:01PM +0200, Mariano Martinez Peck wrote:
On Mon, Apr 4, 2011 at 2:02 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 4 April 2011 13:55, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
You have to add a new primitive I think ...
there was a discussion about adding it to Cog VMs.. but i don't know details. It could be there out of the box... just need to find it :)
I don't know why I remember some Cog extensions in StandardFileStream or something like that that could directly write to the standard output...but maybe I am just dreaming.
Anyway wouldn't OSProcess do the job?
Yes of course. Specifically for debugging support, see the #trace, #trace: and #debug: methods. Handy if you are trying to debug something that might drop you into an emergency evaluator. It also is running from the VM, so it avoids timing confusion related to Smalltalk process scheduling and flushing the ouput stream.
Dave