[Pharo-project] External Browser

Yanni Chiu yanni at rogers.com
Tue Feb 15 03:50:31 CET 2011

On 14/02/11 3:29 PM, Hilaire Fernandes wrote:
> The executed command is  xdg-open  "http://www.ofset.org/drgeo"
> Strangely, this command works fine from a shell terminal, but not when
> interpreted from the Smalltalk system command.

Here's a suggestion.

1. In your shell terminal, do "env | sort > /tmp/env.shell"
2. Tweak your Smalltalk code to do "env | sort > /tmp/env.smalltalk"

See if the differences, if any, gives you any ideas about what's wrong.

You could also try to run a shell, and set up the environment to be 
exactly the same as you found in env.smalltalk, then run your command, 
and see if it still works in that environment.


More information about the Pharo-project mailing list