| |||||||||||
Returning values from Expect scripts Posted by shafa.fahad (shafa.fahad), 22 August 2006 Hi,I am trying to write an Expect script which will call another Expect script from inside which will return some value ( say, list of process running in the remote machine ) to a variable in the parent script.... Please help me out in syntax for this... i was trying like... set val expect script2 < considering that this line is inside script1 > Posted by admin (Graham Ellis), 22 August 2006 Either use an environment variable, or use puts within the inner script.This page is a thread posted to the opentalk forum
at www.opentalk.org.uk and
archived here for reference. To jump to the archive index please
follow this link.
|
Other Forum Posts Follow us on ... | ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho |