comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Set path of terminal tools, e.g. ImageMagick, in Workbench
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Set path of terminal tools, e.g. ImageMagick, in Workbench [message #72844] Sat, 09 October 2010 14:30
Reno is currently offline  Reno
Messages: 7
Registered: November 2005
Junior Member
Hello gurus,

I'm trying to use Unix tools, in IDL Workbench, e.g. use ImageMagick
via David's PS_START and PS_END. It turns out that the SPAWN does not
recognise the tools, like,

IDL> SPAWN, 'convert -version'
bash: convert: command not found

I installed the ImageMagick through MacPorts and it's in /opt/local/
bin, but I don't think the location doesn't really matter since the
tools are properly set its path. When I run the same code in IDL in
terminal environment, it is just perfect with not problem what so
ever.

When I give full path of ImageMagick, it works fine.

IDL> SPAWN, '/opt/local/bin/convert -version'
Version: ImageMagick 6.6.4-9 2010-10-09 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP

It implies that the whatever terminal environment operating through
IDL Workbench is not the same as the one running in real terminal.

How can I fix the problem? It's annoying to run IDL both in Workbench
(for debugging) and terminal (running the code). Tips would be
appreciated.

Cheers,
Reno
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL and eclipse
Next Topic: Re: Set path of terminal tools, e.g. ImageMagick, in Workbench

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:25:50 PDT 2025

Total time taken to generate the page: 0.00546 seconds