Previous released version: CommandWindow 1.1 (note name change) Requires OSProcess 2.2 (2.3 recommended)
This version adds MVC support and various other improvements.
A Smalltalk simulation of a Unix command shell, with a simple dumb terminal window. Requires OSProcess. Works only on Unix systems.
Try evaluating these expressions: CommandShell command: 'help' CommandShell open CommandShell command: 'ps -aef | edit' CommandShell command: 'edit /etc/host*'
Class CommandShell is a command shell, similar to /bin/sh, with a command line user interface. It collaborates with process proxies to provide command execution, and provides a limited set of built in commands similar to those in a Unix shell. Built in commands are implemented in Smalltalk, and any other commands are passed to process proxies to be executed externally. CommandShell can open a terminal window in either Morphic or MVC.
UnixCommand adds command line parsing and file name globbing to a ConnectedUnixProcess. This allows direct execution of external commands without use of an external command shell.
PipeableEvaluator evaluates Smalltalk expressions and provides a framework for pipelines of expressions combining Smalltalk expressions with external Unix commands.
squeak-dev@lists.squeakfoundation.org