About scripting...
Brian Murphy-Dye
brian.murphy-dye at sri.com
Mon Aug 15 04:19:07 UTC 2005
So how would one get the results of: 'ls -l | grep -i Squeak'?
CommandShell command: 'ls | grep -i Squeak' brings up a new window
rather than returning the results of the command as a string :o[
Brian.
On Aug 14, 2005, at 12:00 PM, David T. Lewis wrote:
> On Sun, Aug 14, 2005 at 06:06:44PM +0200, stephane ducasse wrote:
>
>>>
>>>
>>> Yes, but from the limited time I spent looking into it, it not so
>>> easy to execute a program from squeak though. I got as far as
>>> loading the OSProcessPlugin before talk of using VMMaker got me
>>> thoroughly confused. Is there a simple guide on how to execute a
>>> shell command from Squeak that does not require me to compile a VM?
>>>
>>> Daniel
>>>
>
> If you are using a Unix VM (one of the pre-compiled VMs from Ian's
> site),
> then the plugins (OSProcessPlugin and XDisplayControlPlugin) are
> already
> included. You don't have to build anything. Just load the OSProcess
> and
> CommandShell packages from Squeak Map and everything should work fine.
>
> Dave
>
>
>
>
More information about the Squeak-dev
mailing list
|