June 29, 2009
12:52 p.m.
Hello, I want to execute another program from Pharo and collect the result (everything shown on the console) as a string. A basic example : *Console execute: 'ls -l /Users'* should return a string like: *'total 0* *drwxrwxrwt 6 root wheel 204 25 jan 23:03 Shared* *drwxr-xr-x@ 46 user1 user1 1564 4 jui 07:46 user1* *'* How can I do that ? A solution for OS-X is enough. Fréd ---- Frédéric Pluquet Université Libre de Bruxelles (ULB) Assistant http://www.ulb.ac.be/di/fpluquet