SPAWN and IMAGEMAGICK [message #33278] |
Tue, 17 December 2002 09:40 |
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
_________________________________________________
|
|
|