Invoking shell commands from Squeak or Pharo
In Squeak you can use CommandShell, but I don't know what (if anything) is available for Pharo at this time.
I think you can use the package OSProcess to do what you want. In addition, I think is better to ask in squeak-dev or pharo mailing list.
Shell support in Squeak/Pharo is pretty limited. There are plans to get this improved; see the Coral project. Your contributions are welcome.