[Squeak-fr] squeak 3.10 et CommandShell

FERRERE Frédéric frederic.ferrere at free.fr
Ven 21 Nov 08:39:22 UTC 2008


David T. Lewis a écrit :

> 
> Bonjour Fr?d?ric,
> 
> I am sorry that I must reply in English, I hope that you do not mind.
> 
> This is a bug in CommandShell. It is fixed in CommandShell on SqueakSource,
> so you can load the latest version there. I have not updated SqueakMap
> though.
> 
> I recommend that you also load package OSProcess, otherwise CommandShell
> is not very useful.
> 
> The correct method for CommandShell>>environment is this:
> 
> environment
> 	^ environment ifNil:
> 		[environment := (Smalltalk at: #OSProcess ifPresent:
> 			[:osp | osp thisOSProcess environment deepCopy]) ifNil: [Dictionary new]].
> 
> Sorry for my poor French ;)
> 
> Dave
> 

it works fine.

Thanks

(My english is not perfect too :) )

-- 
Frédéric


Plus d'informations sur la liste de diffusion Squeak-fr