RE: rexec and setting env variables on remote host

2008-01-29 Thread Vallon, Justin
8-383-6725, 212-272-6725; cell 917-861-6042 -Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 11:16 PM To: Ant Users List Subject: Re: rexec and setting env variables on remote host Also within "try" shrell script, I have a nohup command ie inside try

Re: rexec and setting env variables on remote host

2008-01-28 Thread Z W
Hi In using with with timeout attribute, is there a way I could cause the shell script to send EOF so that would not fail ? C:\start.xml:13: The following error occurred while executing this line: C:\start.xml:57: Response timed-out waiting for EOF at org.apache.tools.ant.Proje

Re: rexec and setting env variables on remote host

2008-01-28 Thread Z W
Also within "try" shrell script, I have a nohup command ie inside try.sh. I have nohup ./start & where "start" is another shell script On Jan 28, 2008 8:03 PM, Z W <[EMAIL PROTECTED]> wrote: > Rob > > Appreciate your response there. > Your approach does allow the env variables read but > I'm n

Re: rexec and setting env variables on remote host

2008-01-28 Thread Z W
Rob Appreciate your response there. Your approach does allow the env variables read but I'm not sure why rexec hangs when it reaches the end of command execution. Output [rexec] stty: : Invalid argument [rexec] /root [rexec] /mdm /opt [rexec] Starting prstat. [rexec

RE: rexec and setting env variables on remote host

2008-01-28 Thread Anderson, Rob (Global Trade)
You could also source the .profile in your ant script... -Rob Anderson -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 2:40 AM To: Ant Users List Subject: Re: rexec and setting env variables on remote host Z W wrote: > Hi > >

Re: rexec and setting env variables on remote host

2008-01-28 Thread Z W
Steve, I'm sorry that I need a little more help here. Could you elaborate on * I think its an SSH option to turn this back on. Otherwise run bash -login to run bash as a login What tasks are you thinking of that I should use for both options ? Thanks

Re: rexec and setting env variables on remote host

2008-01-28 Thread Steve Loughran
Z W wrote: Hi I tried using rexec task to invoke a shell script. The output is as follows: [rexec] /af/gord [echo] But when I check the local host of this unix box, the variables are set in .profile. When echoed, they are displayed. How do I make sure the shell sets these variables

rexec and setting env variables on remote host

2008-01-25 Thread Z W
Hi I tried using rexec task to invoke a shell script. The output is as follows: [rexec] /af/gord [echo] But when I check the local host of this unix box, the variables are set in .profile. When echoed, they are displayed. How do I make sure the shell sets these variables in Ant script