Search code examples
smalltalksqueakpharo

Invoking shell commands from Squeak or Pharo


How can you invoke shell commands from Squeak and Pharo? Do these environments have anything in them like the system() function in certain unix languages to run external shell commands, or the backticks (can't make them here do to the editor, but what you get when you push the key left of "1" and above "TAB") to capture the output of commands?


Solution

  • In Squeak you can use CommandShell, but I don't know what (if anything) is available for Pharo at this time.