environment inheritance..
From: ktom (abc_at_invalid.com)
Date: 03/07/05
- Previous message: Sergio: "Re: problems using graphviz perl module from apache (windows)"
- Next in thread: Joe Smith: "Re: environment inheritance.."
- Reply: Joe Smith: "Re: environment inheritance.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 07 Mar 2005 21:16:31 GMT
when executing a 'system( some_other program );' from within a perl
script the environment it inherits, specifically the path, is unexpected.
i login to the work station and an environment is defined and used for
subsequent shells. and so it seems it is used for the 'system' command.
i would prefer that it use the environment of the shell from which the
perl script is called. as they are different and changing the other,
the login environment, requires that i log out and login once more.
is there a way to make the system call use the current environment..
thanks..
kevin
- Previous message: Sergio: "Re: problems using graphviz perl module from apache (windows)"
- Next in thread: Joe Smith: "Re: environment inheritance.."
- Reply: Joe Smith: "Re: environment inheritance.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|