OSProcess 3.0.4 waitForCommandOutput problem

David T. Lewis lewis at mail.msen.com
Wed May 21 00:04:41 UTC 2003


On Tue, May 20, 2003 at 08:28:28PM +0000, Ragnar Hojland Espinosa wrote:
> This works nicely:
> 
> 	OSProcess thisOSProcess waitForCommand: '/bin/ls'.
> 
> so the plugin is ok, but this doesn't:
> 
> 	OSProcess thisOSProcess waitForCommandOutput: '/bin/ls'.
> 
> as in UnixProcess>>waitForCommandOutput	the line
>        					
> 	^ (PipeableOSProcess command: aCommandString) output
> 
> gives a
> 
> 	MessageNotUnderstood: command:  
> 
> which is quite understandable as PipeableOSProcess doesn't exist anywhere.
> What did I miss?

PipeableOSProcess is in the CommandShell package, which you can also download
from Squeak Map. Unfortunately I left some references to CommandShell classes
in the OSProcess package. Sorry about that. Anyway, if you are using OSProcess
you will probably want to load CommandShell anyway.

Dave



More information about the Squeak-dev mailing list