Re: Set path of terminal tools, e.g. ImageMagick, in Workbench [message #72836 is a reply to message #72835] |
Sun, 10 October 2010 17:56   |
Reno
Messages: 7 Registered: November 2005
|
Junior Member |
|
|
Hi Paulo,
> Do you get the same if you start the Workbench from the command line
> (idlde) or from some icon/menu?
Haven't I thought of it!? Running IDLDE from terminal, opposed to
clicking the IDLWorkbench.app, did make differences - Now, I can
successfully collaborate with ImageMagick.
> Maybe PATH is being set to include ImageMagick's directory in a .cshrc
> file? The error above indicates that IDL is spawning bash.
>
> Anyway, you could spawn 'echo $PATH', to find out how it differs from
> the PATH in your terminal, it might give clues to where the difference
> originates.
I'm afraid that I do not have .cshrc in ~/. However, "SPAWN, 'echo
$PATH'" yields very different PATH. Though I can see the differences,
I'm still in search of Bash profile file when IDLWorkbench.app is
activating, nor I cannot "SPAWN, 'setenv PATH=***'" which gives
'Command not found...'
For the time being I shall have to run the IDLDE from terminal. Thanks
for the tip.
Cheers,
Reno
|
|
|