Hi:

        I am a newbie to STAF.  But I encounter a problem, I don't know 
how to deal with the interactive commands on remote host using STAF.
Of course, if I just need to send the sub commands to remote host to 
execute, I could just use a.out < inputcmd to achieve this. But If I want
it to work like expect, I send a cmd to the process on remote host, then 
get a response(in stdout/stderr) and check that.  I want to use queue to 
send the interactive commands to that process, but I don't know how to 
make that process receive the commands and execute without changing the 
source code of the process itself.
        Do you have some experience to share with me? I appreciate any 
help of you.

Thanks
William

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to