RE: Exec with getlogin

2005-10-21 Thread Telang, Nandan
If I echo ${user.name} it does give the correct username .. -Nandan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 11:35 AM To: Telang, Nandan; user@ant.apache.org Subject: Re: Exec with getlogin On Fri, 21 Oct 2005 10:49:15 -0700

Re: Exec with getlogin

2005-10-21 Thread Juergen Hermann
On Fri, 21 Oct 2005 10:49:15 -0700, Telang, Nandan wrote: >I'm trying to call a perl script with the Ant exec task.. The script tries to get the userid by using getlogin() (Unix) When the script is run directly, it returns my loginname, however when run through ant, it returns undef... hmm, wha