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

Home » Public Forums » archive » findfile on unix bug - help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: findfile on unix bug - help [message #27029 is a reply to message #26927] Mon, 08 October 2001 07:35 Go to previous messageGo to previous message
R.G.S. is currently offline  R.G.S.
Messages: 46
Registered: September 2000
Member
Paul Manusiu <phpvm@alinga.newcastle.edu.au> wrote in message
news:3BC1B18B.B708E9C7@alinga.newcastle.edu.au...
>> and this works ( of course, I shudder at the thought of using code that
>> changes the current directory).
>>
>
> Under Unix, CD does not affect the working directory of the process that
> started IDL.

I did not know that. If that is info that is kept by IDL, does it extend to
the following question: If I have two IDL sessions running, they won't
cross talk the current directory? That is my fear with this solution, that
process1 would change directory to /data, then process2 would change
it to /output, then process1 would try to read data files and fail.
If this won't happen, then the cd,subdirectory kludge isn't so bad.


> Check that there isn't a blank character in your subdirectory string. For
> example use
> strtrim(subdirectory,1)

No blank characters, I checked that. I have used
strcompress(subdir+'*."+extension,/remove_all).
Same results.



> Also if its a subdirectory of the current directory (ie relative path)
check
> that you have not place " / "
> at the beginning of your path.


I use absolute paths (since the data is kept in its own tree, separate
from my user tree, or the IDL tree).



Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Possibly O/T: printing IDL code in colour
Next Topic: Re: Color mode rgb -> cmyk?

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

Current Time: Sat Oct 11 03:12:49 PDT 2025

Total time taken to generate the page: 2.56140 seconds