[squeak-dev] Console smalltalk program.
asqueaker at gmail.com
Fri Mar 19 02:24:22 UTC 2010
I think CommandShell is neat, and have it loaded in my dev image. It
provides nice interface to the Linux environment from within the
Dave, would you mind if, in some future release of CommandShell, the
category for the test cases could be renamed so as to not cause a
dirty package in the trunk image?
On Thu, Mar 18, 2010 at 8:53 PM, David T. Lewis <lewis at mail.msen.com> wrote:
> On Fri, Mar 19, 2010 at 01:27:45PM +1300, Michael van der Gulik wrote:
>> On Fri, Mar 19, 2010 at 12:53 PM, Adrian Norberto Marino
>> <adrianmarino at gmail.com> wrote:
>> > Hello,
>> > ? ? ? ?I need write a console program with smalltalk squeak.
>> > ? ? ? ?Exist any tool for this task in squeak?
>> What I think you want is a package called OSProcess. This is available
>> from within Squeak: open the Package Universe browser and you'll find
>> it under the "System" category. Then see OSProcess class>>helloWorld
>> and other examples.
>> Also check out the CommandShell package.
> FYI, you can load the latest versions of OSProcess/CommandShell from
> SqueakSource. It's generally best to use the latest version, as I
> don't keep the universes postings up to date as much as I should do.
> To run Squeak as a /bin/sh replacement, see class ExternalCommandShell
> in the CommandShell package, which is described here:
More information about the Squeak-dev