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

Home » Public Forums » archive » cshell script question
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
cshell script question [message #19386] Sat, 18 March 2000 00:00
Steven Chetelat (CS) is currently offline  Steven Chetelat (CS)
Messages: 11
Registered: February 2000
Junior Member
Hey all, I'm having a problem and I was wondering if anyone could provide
any insight. I have the following script which I want to run from IDL,
using spawn I assume (right now I'm using spawn,'[commandline &
parameters]', since the /NO_SHELL keyword, which lets you pass in a
string array with the arguments, apparently doesn't work for scripts,
only programs):

#! /bin/csh

rm /home/scratch/im_size
program1 $1 12 /home/scratch/ap.vff 3
compress /home/scratch/ap.vff
program2 /home/scratch/ap.vff.Z /home/scratch/g_20.vff 20
script /home/scratch/g_20.vff $2




However, when I run it, some things execute and some don't. program1
doesn't appear to run, but script (which is a script which calls idl)
does. program2 *might* run, but as it depends on the output of program1,
it doesn't get anywhere. Is there anything special I need to do to
execute the script properly? Do I need to provide more information?

Thanks,
STEVE!(steve@moffitt.usf.edu)(chetelat@grad.csee.usf.edu)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: grids and XLOG
Next Topic: updated IDL DLM code on www.rlkling.com

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

Current Time: Wed Oct 08 14:00:37 PDT 2025

Total time taken to generate the page: 0.00488 seconds