Is it possible to write shell command within Pharo smalltalk?
问题 Like in other programming language, is there a way of running linux shell command in Pharo smalltalk or a simple script ? I would like to have my Pharo image running a script that should be able to automate a tasks and return it to some value. I looked at almost all the documentation around and I couldn't find anything related. Maybe It does not allow such functionality. 回答1: Pharo does allow the OS interaction. The best way, in my eyes, is to use OSProcess (as MartinW already suggested).