in reply to Re: •Re: Directory in which your program is running...
in thread Directory in which your program is running...

Oops. I should have specified: the directory in which the program is located; which should be the same as the directory of the process since I'm not using any chdir calls.
No, that's precisely the thinking that will get you into trouble, which is why I asked the question I did.

When I invoke "some/path/to/script", my current directory hasn't changed, but the script is located in some other directory. So I wanted to know which of the two you wanted: the current directory, or the directory of the script.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: Re: •Re: Directory in which your program is running...