[squeak-dev] Accessing external resources in a cross-platform way

Colin Putney colin at wiresong.com
Fri Jan 28 17:25:02 UTC 2011


On Fri, Jan 28, 2011 at 9:17 AM, Hernán Morales Durand
<hernan.morales at gmail.com> wrote:
> Thanks David,
>
> I've seen FileSystem package http://www.wiresong.ca/filesystem/
> it seems related in some way too

Yes, FileSystem does attempt to provide a cross-platform way to
resolve paths that are system-dependent. It doesn't include a way to
search for executables, although that's a good feature idea. As David,
mentioned you probably want to get the value of the PATH environment
variable, and use that for your search. That will handle cross-host
differences as well as cross-platform issues.

Colin



More information about the Squeak-dev mailing list