Re: how to change working directory

2006-01-10 Thread JupiterHost.Net
Mayank Ahuja wrote: Hi Could you please let me know how to change the working directory without going under through setting the path variable process. Not sure what "going under through setting the path variable process" means and/or what it has to do with chdir??? -- To unsubscribe, e-

Re: how to change working directory

2006-01-10 Thread Leif Ericksen
If you are running your script as a given user the script should 'inherit' the environment of the user that is is being run as. IF You run as a daemon it should 'inherit' the environment of the user that started the script. If your script issues a chroot command all bets are off since. To set th

how to change working directory

2006-01-10 Thread Mayank Ahuja
Hi Could you please let me know how to change the working directory without going under through setting the path variable process.I am using the following code.use warnings;use strict;use Cwd;chdir ('/user/bin') or die can not change the directory.if there is only one way then let me know how do we