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

Home » Public Forums » archive » SPAWNing IDL from IDL under UNIX
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
SPAWNing IDL from IDL under UNIX [message #20157] Thu, 18 May 2000 00:00 Go to next message
D. Mattes is currently offline  D. Mattes
Messages: 14
Registered: May 1999
Junior Member
hello IDL gurus: here's a fun self-referential problem that i REALLY need
solved. i have a lengthy minimization process coded using IDL. what i
would like is to allow the user to use my widgets to set minimization
parameters, etc. and then spawn idl as a UNIX process which runs the
minimization.

so i would use spawn to set the idl startup file:
spawn,'setenv IDL_STARTUP my_min_proc'

then, i would like to spawn idl as a unix process, using the unix 'at'
command:
spawn,'at now; idl; ^D'

the preceeding command starts idl using the specified startup file, but it
runs in the current terminal shell. if i exit the shell, i lose the
process.

any insight into this issue would be greatly appreciated!

thanks,
david mattes
Re: SPAWNing IDL from IDL under UNIX [message #20195 is a reply to message #20157] Tue, 23 May 2000 00:00 Go to previous message
pit is currently offline  pit
Messages: 92
Registered: January 1996
Member
In article <39295458.A68C8F76@astro.cornell.edu>,
"J.D. Smith" <jdsmith@astro.cornell.edu> writes:
>
> spawn,'$IDL_DIR/bin/idl my_min_proc'
>
> but now your terminal is taken over by the spawned process.

That's why I'm using
spawn, 'nohup /opt/rsi/idl_5.2/bin/idl dosp &'

Peter

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
Dr. Peter "Pit" Suetterlin http://www.astro.uu.nl/~suetter
Sterrenkundig Instituut Utrecht
Tel.: +31 (0)30 253 5225 P.Suetterlin@astro.uu.nl
____________________________________________________________ ______________
Re: SPAWNing IDL from IDL under UNIX [message #20220 is a reply to message #20157] Mon, 22 May 2000 00:00 Go to previous message
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
"D. Mattes" wrote:
>
> hello IDL gurus: here's a fun self-referential problem that i REALLY need
> solved. i have a lengthy minimization process coded using IDL. what i
> would like is to allow the user to use my widgets to set minimization
> parameters, etc. and then spawn idl as a UNIX process which runs the
> minimization.
>
> so i would use spawn to set the idl startup file:
> spawn,'setenv IDL_STARTUP my_min_proc'


spawn,'$IDL_DIR/bin/idl my_min_proc'

but now your terminal is taken over by the spawned process.

JD

--
J.D. Smith |*| WORK: (607) 255-5842
Cornell University Dept. of Astronomy |*| (607) 255-6263
304 Space Sciences Bldg. |*| FAX: (607) 255-5875
Ithaca, NY 14853 |*|
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: circle plot symbol
Next Topic: Re: HELP - Changing color map in Mac IDl

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

Current Time: Wed Oct 08 18:36:23 PDT 2025

Total time taken to generate the page: 0.00603 seconds