Re: [staf-users] Can not run expect using STAF automation

2009-10-21 Thread Farhad Sabeti
@lists.sourceforge.net Subject: Re: [staf-users] Can not run expect using STAF automation Can you try creating an empty STDIN file (something like /tmp/stdin.txt) on the system where the expect script is running, and then add the STDIN option to the PROCESS START request: ‘start shell command “/usr/local

Re: [staf-users] Can not run expect using STAF automation

2009-10-21 Thread David Bender
2009 03:26 PM To Paul Ellsworth/San Jose/i...@ibmus cc staf-users@lists.sourceforge.net Subject Re: [staf-users] Can not run expect using STAF automation Thanks Paul, Nikunj and David for your replies, So, I did add more debugging and investigation as you guys suggested and added the export

Re: [staf-users] Can not run expect using STAF automation

2009-10-21 Thread Farhad Sabeti
Date: 10/21/2009 11:10 AM Subject: [staf-users] Can not run expect using STAF automation Hello every body, I just subscribed to this mailing list, not sure if it is working properly or not. I am using STAF for the automation infrastructure and using

Re: [staf-users] Can not run expect using STAF automation

2009-10-21 Thread Farhad Sabeti
So I got it as far as running the expect scrip byt adding Export SHELL=/bin/bash But when expect script runs, it hangs there and I think is not getting the prompt for which the script's first line is waiting for. From: Farhad Sabeti Sent: Wednesday, October 21, 2009 11:04 AM To: 'staf-

Re: [staf-users] Can not run expect using STAF automation

2009-10-21 Thread Paul Ellsworth
ate: 10/21/2009 11:10 AM Subject:[staf-users] Can not ru

Re: [staf-users] Can not run expect using STAF automation

2009-10-21 Thread Nikunj Verma
Adding the mailing list to cc list, in case someone wants to correct anything. On Thu, Oct 22, 2009 at 12:02 AM, Nikunj Verma wrote: > I guess your expect command, which you kept in the expstart.sh file is not > getting launched at all. You can check this by checking the exit status of > the exp

Re: [staf-users] Can not run expect using STAF automation

2009-10-21 Thread David Bender
IBM Software Group, WPLC 11501 Burnet Rd. Bldg. 903-5B002 Austin, TX 78758-3400 Phone (T/L): 1-512-286-5315 (363-5315) ITN: 23635315 Email: bda...@us.ibm.com "Farhad Sabeti" 10/21/2009 01:03 PM To cc Subject [staf-users] Can not run expect using STAF automation H

[staf-users] Can not run expect using STAF automation

2009-10-21 Thread Farhad Sabeti
Hello every body, I just subscribed to this mailing list, not sure if it is working properly or not. I am using STAF for the automation infrastructure and using expect for more interactive automation. On a Linux server I have written an expect script to automate installation of our product a