Le 15/12/2017 à 21:24, Hilaire a écrit : > In P3: > > FileSystem disk workingDirectory > =>File @ /home/hilaire/Travaux/Developpement/DrGeoII/Dev-pharo3.0/shared > > In P7: > > FileSystem disk workingDirectory > =>File @ /home/hilaire > > Is it a bug? >
Hi! In Pharo 3 workingDirectory = imageDirectory. In Pharo 7 workingDirectory = directory from where Pharo was launched. Maybe you launched Pharo from the terminal with this command like this one? Travaux/Developpement/DrGeoII/Dev-pharo3.0/shared/pharo-ui Travaux/Developpement/DrGeoII/Dev-pharo3.0/shared Pharo.image If you wish to use the old behaviour, you can replace `FileSystem disk workingDirectory` by `FileLocator imageDirectory asFileReference`. This change was done because, not getting the real working directory make it really hard to script things in Pharo. -- Cyril Ferlicot https://ferlicot.fr http://www.synectique.eu 2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France
signature.asc
Description: OpenPGP digital signature