both are right 1) OSProcess has not been fully ported to 2.0 2) you can load a compatibility package (the one of Camillo or FileDirectory package from the graveyard, http://smalltalkhub.com/#!/~Pharo/Graveyard20), and most probably will work fine in 2.0, since the OSProcess problems are due to the FileSystem replacement.
and of course, if someone want to collaborate by doing OSProcess work fine in 2.0 without needing to load an obsolete package, that would be great :) Esteban On Nov 13, 2012, at 9:59 AM, "Peter H. Meadows" <peter.h.mead...@googlemail.com> wrote: > Is OSProcess still the best/correct way? > > I've been using it in 2.0. Seems to work. > > load: > > MCHttpRepository > location: 'http://smalltalkhub.com/mc/dh83/fisleg/main' > user: '' > password: '' > > then do: > > Gofer new > squeaksource: 'MetacelloRepository'; > package: 'ConfigurationOfOSProcess'; > load. > > (Smalltalk at: #ConfigurationOfOSProcess) project bleedingEdge load. > > > Is the only issue updating to FileSystem, or are there other changes > that are needed for Pharo 2.0? > > > On Fri, Nov 9, 2012 at 9:35 AM, roberto.mine...@usi.ch > <roberto.mine...@usi.ch> wrote: >> Hi, >> >> I'd like to script some shell commands in Pharo 2.0. >> Is there any way to do that in Pharo? It seems OSProcess class is suitable >> but seems it's not yet fully ported in Pharo 2.0. >> >> Thanks, >> Roberto >