Follow these steps to create a background process with IDL on
armin.
1. Create a procedure in
IDL: /home/thirty/background/background.pro
Example
2. Start the script (the output
and errors will be saved to output.log)
./script.csh >& output.log &
3. See text as it is added to
output.log (ctrl-C to cancel printing)
tail -f output.log
Additional
Files in /home/thirty/background/ that should be already set up:
1. idl.batch
-----------------------------------
print_time
retall
exit
-----------------------------------
2. script.csh
-----------------------------------
#!/bin/csh
source /usr/local/rsi/idl_5.5/bin/idl_setup
setenv IDL_STARTUP idl.batch
idl
unsetenv IDL_STARTUP
exit
------------------------------------
3. script.csh must be executable:
------------------------------------
chmod +x script.csh
------------------------------------