[ENH][GOODIE] OSProcess V3.0 (OSProcess for Windows)

David T. Lewis lewis at mail.msen.com
Wed Mar 13 03:32:57 UTC 2002


On Tue, Mar 12, 2002 at 07:39:02PM -0500, PhiHo Hoang wrote:
>  
> 	One way to work around this for now, don't put that dll in the
> path until after you filed in 'OSProcessV3-0-dtl.cs'. With this clue,
> maybe David can tell why. I can install it on my WindowsXP machine.

Hi PhiHo,
So, does OSProcess work on your WindowXP machine when you add the
DLL after the change set is loaded?

>   I still cannot run HUGS, 'stdOut' is not implemented for Windows ?
> 
>   The console looks cool. I don't have time right now to go
> through your writing yet and have not tried anything except HUGS.

That's right, stdOut is not yet implemented for Windows. This will be
easy to add, but the hard part is that we need to have non-blocking
read and write to Windows anonymous pipes, otherwise the Squeak VM will
lock up when doing command pipelines. I have some ideas on how to do
this, but it might take some time to implement, so I went ahead and
released the Windows OSProcess without this.

You can see the problem for yourself if you create a new OSPipe and
read from it. If there is no data in the pipe, your VM will lock up
and you will need to do <ctl><alt><del>. This would not be good if
you were trying to read and write to an external program (HUGS) and
there was no data to read.

Dave




More information about the Squeak-dev mailing list