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

Home » Public Forums » archive » Re: Problem starting non IDL program with SPAWN
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
Re: Problem starting non IDL program with SPAWN [message #81386] Sat, 08 September 2012 05:50
Tito is currently offline  Tito
Messages: 16
Registered: March 2012
Junior Member
David,
Case closed! Thank you!
IDL> cd, '~/LBLRTM/lblrtm/Chip 1' - solve the problem! I should thought about that first.

All the best!
Trifon
Re: Problem starting non IDL program with SPAWN [message #81388 is a reply to message #81386] Sat, 08 September 2012 04:39 Go to previous message
David Grier is currently offline  David Grier
Messages: 35
Registered: July 2010
Member
Dear Trifon,

This probably does not get to the heart of the problem, but
the STRCOMPRESS() should not be necessary.

It's possible that your external program would be "happier" if it were
run in the intended directory:

IDL> cd, '~/LBLRTM/lblrtm/Chip1'
IDL> spawn, 'lblrtm_v12.1_linux_gnu_dbl'

Also, the existence of 'TAPE5~' (with the tilde) suggests that your IDL-spawned
program may have tried to process TAPE5 first and may even have generated some
output, which was overwritten when you ran the program from the command line.
Is TAPE5~ empty?

Your program also may rely on environment variables to find the various TAPE devices.
Perhaps these aren't available in the shell that IDL is spawning. You might want to check
that your SHELL environment variable is set to what you want, and that any other
necessary environment variables are properly set for that shell.

Good luck,

David
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Video input for IDL on Macs
Next Topic: structure arrays with different structures

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

Current Time: Wed Oct 08 09:23:02 PDT 2025

Total time taken to generate the page: 0.00583 seconds