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

Home » Public Forums » archive » SPAWN and IMAGEMAGICK
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
SPAWN and IMAGEMAGICK [message #33278] Tue, 17 December 2002 09:40
David Oesch is currently offline  David Oesch
Messages: 31
Registered: October 2000
Member
Hy cracks..
I'm using IDL5.5 under LINUX REDHAT 7.2 (we got not yet IDL5.6..but Xmas
is coming) and I'm confronted witha pretty strange thing...
If I call the Imagemagick tool mogrify using SPAWN like this in IDL

SPAWN, 'mogrify -geometry 45% /home/mydir/pic.jpg '

everything works fine...BUT if I'm using the same call in an IDL batch
file, which is started by a crontab job ( also running in background),
this imagemagick command will not be executed.. I also tried
command='mogrify -geometry 45% /home/mydir/pic.jpg &'
print,command
SPAWN,command,/SH

and also

SPAWN,['mogrify -geometry 45% ','' /home/mydir/pic.jpg'],/NOSHELL,

but no gain...only pain

any idea? would be a nice Xmas present...

Cheers
Dave

--
_________________________________________________

David Oesch - Remote Sensing Research Group

Department of Geography

University of Bern Tel : +41 (0)31 631 8020
Hallerstr. 12 Fax : +49 (0)89 2443 43780
CH - 3012 Bern Mail: David.Oesch@giub.unibe.ch
Switzerland http://www.giub.unibe.ch/remsen

Remote Sensing is...
Staying as far away from the problem as possible.
- G. Archer, World Bank
_________________________________________________
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: OSX: syntax coloring?
Next Topic: Re: SPAWN and IMAGEMAGICK

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

Current Time: Wed Oct 08 20:02:32 PDT 2025

Total time taken to generate the page: 0.05301 seconds