SPAWNing IDL from IDL under UNIX [message #20157] |
Thu, 18 May 2000 00:00  |
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 #20220 is a reply to message #20157] |
Mon, 22 May 2000 00:00  |
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 |*|
|
|
|