Re: [Pharo-project] osprocess in pharo 2.0

2013-03-08 Thread David T. Lewis
On Fri, Mar 08, 2013 at 05:25:55PM -0800, Sean P. DeNigris wrote: > David T. Lewis wrote > > So I should add a nil check in the shutDown: method, right? > > Would it be a good idea to do a lazy initialization in #accessor? For > example, if I load Base, and then I separately add the OS packages, I

Re: [Pharo-project] osprocess in pharo 2.0

2013-03-08 Thread Sean P. DeNigris
David T. Lewis wrote > So I should add a nil check in the shutDown: method, right? Would it be a good idea to do a lazy initialization in #accessor? For example, if I load Base, and then I separately add the OS packages, I think I would have to manually reinitialize OSP before they will be picked

Re: [Pharo-project] osprocess in pharo 2.0

2013-03-08 Thread David T. Lewis
On Fri, Mar 08, 2013 at 11:58:38AM -0500, David T. Lewis wrote: > On Fri, Mar 08, 2013 at 08:13:19AM -0800, Sean P. DeNigris wrote: > > On Mar 8, 2013, at 3:49 AM, Camillo Bruni-3 [via Smalltalk] > > wrote: > > > I wonder why it fails on the build-server? > > It fails because ThisOSProcess class

Re: [Pharo-project] osprocess in pharo 2.0

2013-03-08 Thread David T. Lewis
On Fri, Mar 08, 2013 at 08:13:19AM -0800, Sean P. DeNigris wrote: > On Mar 8, 2013, at 3:49 AM, Camillo Bruni-3 [via Smalltalk] > wrote: > > I wonder why it fails on the build-server? > It fails because ThisOSProcess class>>shutDown: includes "OSProcess accessor > breakDependents", but OSProces

Re: [Pharo-project] osprocess in pharo 2.0

2013-03-08 Thread David T. Lewis
On Fri, Mar 08, 2013 at 05:27:04PM +0100, Camillo Bruni wrote: > thanks, I changed it and it sort of works: > https://ci.inria.fr/pharo-contribution/job/OSProcess/ > though an impressive number of 81 tests fail, that is almost 50% of all the > tests. > Is that normal? > I wouldn't call in "norma

Re: [Pharo-project] osprocess in pharo 2.0

2013-03-08 Thread Camillo Bruni
thanks, I changed it and it sort of works: https://ci.inria.fr/pharo-contribution/job/OSProcess/ though an impressive number of 81 tests fail, that is almost 50% of all the tests. Is that normal? On 2013-03-08, at 17:13, "Sean P. DeNigris" wrote: > On Mar 8, 2013, at 3:49 AM, Camillo Bruni-3

Re: [Pharo-project] osprocess in pharo 2.0

2013-03-08 Thread Sean P. DeNigris
On Mar 8, 2013, at 3:49 AM, Camillo Bruni-3 [via Smalltalk] wrote: > I wonder why it fails on the build-server? It fails because ThisOSProcess class>>shutDown: includes "OSProcess accessor breakDependents", but OSProcess accessor returns nil because none of the platform packages are loaded by

Re: [Pharo-project] osprocess in pharo 2.0

2013-03-08 Thread Camillo Bruni
On 2013-03-07, at 22:35, "Sean P. DeNigris" wrote: > EstebanLM wrote >> it would be really cool to have a metacello configuration in >> MetaRepoForPharo20 > > There is one there :) I wonder why it fails on the build-server? https://ci.inria.fr/pharo-contribution/job/OSProcess/

Re: [Pharo-project] osprocess in pharo 2.0

2013-03-07 Thread Sean P. DeNigris
EstebanLM wrote > it would be really cool to have a metacello configuration in > MetaRepoForPharo20 There is one there :) - Cheers, Sean -- View this message in context: http://forum.world.st/osprocess-in-pharo-2-0-tp4674453p4675619.html Sent from the Pharo Smalltalk mailing list archive a

Re: [Pharo-project] osprocess in pharo 2.0

2013-03-06 Thread Tudor Girba
Hi, Thanks for the answers. It's no problem that it is not in 2.0. I just wanted to make sure. It's already great that it works with 2.0. Cheers, Doru On Mar 6, 2013, at 7:43 PM, Esteban Lorenzano wrote: > OSProcess was not ready for 2.0 when we closed the beta, so we did not > include it.

Re: [Pharo-project] osprocess in pharo 2.0

2013-03-06 Thread Esteban Lorenzano
OSProcess was not ready for 2.0 when we closed the beta, so we did not include it. Now is working fine but since we are hours from release, is not good to have it there by default now (it will be for 3.0. then)... it would be really cool to have a metacello configuration in MetaRepoForPharo20,

Re: [Pharo-project] osprocess in pharo 2.0

2013-03-06 Thread stephane ducasse
good question. > For some reason I thought that OSProcess was integrated in Pharo 2.0, but it > appears that it is not in the image. Did I understand the issue incorrectly, > or was the class renamed to something else? we did not renamed the class > > If it is not in the image, was it already

[Pharo-project] osprocess in pharo 2.0

2013-03-05 Thread Tudor Girba
Hi, For some reason I thought that OSProcess was integrated in Pharo 2.0, but it appears that it is not in the image. Did I understand the issue incorrectly, or was the class renamed to something else? If it is not in the image, was it already ported to SmalltalkHub? (I could not find it) I a

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-11-16 Thread Max Leske
On 16.11.2012, at 11:42, Stéphane Ducasse wrote: > > On Nov 15, 2012, at 10:52 PM, Mariano Martinez Peck wrote: > >> >> >> On Thu, Nov 15, 2012 at 4:47 PM, Damien Cassou >> wrote: >> On Tue, Nov 13, 2012 at 11:24 AM, Max Leske wrote: >>> I'm working on a simple library for NativeBoost tha

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-11-16 Thread Denis Kudriashov
Hello 2012/11/16 Max Leske > > On 16.11.2012, at 07:20, Stéphane Ducasse > wrote: > > > > > On Nov 13, 2012, at 11:24 AM, Max Leske wrote: > > > >> I'm working on a simple library for NativeBoost that will execute > commands on the shell and return stdin and stderr to the image. > >> This will

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-11-16 Thread Stéphane Ducasse
On Nov 15, 2012, at 10:52 PM, Mariano Martinez Peck wrote: > > > On Thu, Nov 15, 2012 at 4:47 PM, Damien Cassou > wrote: > On Tue, Nov 13, 2012 at 11:24 AM, Max Leske wrote: > > I'm working on a simple library for NativeBoost that will execute commands > > on the shell and return stdin and

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-11-16 Thread Esteban Lorenzano
On Nov 16, 2012, at 9:57 AM, Max Leske wrote: > > On 16.11.2012, at 07:20, Stéphane Ducasse wrote: > >> >> On Nov 13, 2012, at 11:24 AM, Max Leske wrote: >> >>> I'm working on a simple library for NativeBoost that will execute commands >>> on the shell and return stdin and stderr to the im

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-11-16 Thread Max Leske
On 16.11.2012, at 07:20, Stéphane Ducasse wrote: > > On Nov 13, 2012, at 11:24 AM, Max Leske wrote: > >> I'm working on a simple library for NativeBoost that will execute commands >> on the shell and return stdin and stderr to the image. >> This will take me one or two weeks to complete thou

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-11-16 Thread Stéphane Ducasse
On Nov 13, 2012, at 11:24 AM, Max Leske wrote: > I'm working on a simple library for NativeBoost that will execute commands on > the shell and return stdin and stderr to the image. > This will take me one or two weeks to complete though. Once I'm finished I'll > post it on the list (I guess th

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-11-15 Thread Mariano Martinez Peck
On Thu, Nov 15, 2012 at 4:47 PM, Damien Cassou wrote: > On Tue, Nov 13, 2012 at 11:24 AM, Max Leske wrote: > > I'm working on a simple library for NativeBoost that will execute > commands on the shell and return stdin and stderr to the image. > > This will take me one or two weeks to complete tho

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-11-15 Thread Max Leske
:D Thanks Damien On 15.11.2012, at 16:47, Damien Cassou wrote: > On Tue, Nov 13, 2012 at 11:24 AM, Max Leske wrote: >> I'm working on a simple library for NativeBoost that will execute commands >> on the shell and return stdin and stderr to the image. >> This will take me one or two weeks to

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-11-15 Thread Damien Cassou
On Tue, Nov 13, 2012 at 11:24 AM, Max Leske wrote: > I'm working on a simple library for NativeBoost that will execute commands on > the shell and return stdin and stderr to the image. > This will take me one or two weeks to complete though. Once I'm finished I'll > post it on the list (I guess

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-11-15 Thread Peter H. Meadows
oh. Better to follow: http://book.pharo-project.org/book/PharoTools/OSProcess/ This seems to work fine. I saw somewhere: "since os process isn't really reliable in Pharo-2.0". Is that/was that correct? On Tue, Nov 13, 2012 at 8:59 AM, Peter H. Meadows wrote: > Is OSProcess still the best/corre

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-11-15 Thread Max Leske
I'm working on a simple library for NativeBoost that will execute commands on the shell and return stdin and stderr to the image. This will take me one or two weeks to complete though. Once I'm finished I'll post it on the list (I guess there's a lot of people who would want something like this

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-11-15 Thread Esteban Lorenzano
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

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-11-13 Thread Peter H. Meadows
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: 'Co

[Pharo-project] OSProcess in Pharo 2.0

2012-11-09 Thread roberto.mine...@usi.ch
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

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-10-30 Thread David T. Lewis
Hi, I'm not up to speed on the latest Pharo, but I'll try to offer a couple of tips... On Tue, Oct 30, 2012 at 10:15:12AM +0100, Damien Cassou wrote: > Hi, > > I was trying to play with OSProcess. Simple goal, to execute > > $ ldconfig -p | grep libcairo.so > > and get the result as a string o

Re: [Pharo-project] OSProcess in Pharo 2.0

2012-10-30 Thread Camillo Bruni
On 2012-10-30, at 10:15, Damien Cassou wrote: > Hi, > > I was trying to play with OSProcess. Simple goal, to execute > > $ ldconfig -p | grep libcairo.so > > and get the result as a string or stream. > > Several problems I met: > > - newest OSProcess loaded from its configuration depends on

[Pharo-project] OSProcess in Pharo 2.0

2012-10-30 Thread Damien Cassou
Hi, I was trying to play with OSProcess. Simple goal, to execute $ ldconfig -p | grep libcairo.so and get the result as a string or stream. Several problems I met: - newest OSProcess loaded from its configuration depends on FileDirectory which is not present in Pharo 2.0. - when I fixed previo