Hi,
I've loaded CommandShell and OSProcess (along with the Test suites for both). When I start Command Shell the Morphic terminal appears, but I get the message "cannot access system to run 'ps'", when I try to execute a shell command.
Have I failed to download a necessary part, or is there a configuration somewhere I need to administer?
Chris
On Sun, Oct 14, 2007 at 12:05:18PM -0400, Chris Cunnington wrote:
Hi,
I've loaded CommandShell and OSProcess (along with the Test suites for both). When I start Command Shell the Morphic terminal appears, but I get the message "cannot access system to run 'ps'", when I try to execute a shell command.
Have I failed to download a necessary part, or is there a configuration somewhere I need to administer?
The missing piece is the OSProcessPlugin, which is an optional plugin that permits the Squeak virtual machine to gain access to various operating system functions.
The plugin is normally distributed with the Unix VM, so OSProcess and CommandShell work fine on Unix and Linux systems. The plugin is also available for the Mac OS X VM, but I don't think that it is distributed with the Mac VM. John McIntosh makes it available on his web site ftp.smalltalkconsulting.com, although I don't know exactly how to go about getting it and installing it on a Mac (perhaps someone else can explain). On Windows, the OSProcessPlugin is not completely implemented, so CommandShell will not work for you on Windows.
Dave
beginners@lists.squeakfoundation.org