eftsousis / sshxcute

Automatically exported from code.google.com/p/sshxcute
0 stars 0 forks source link

ssh.exec cannot return the result when the command have rpm operation #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ExecShellScript a shll scrip, the scrpt has a command to install a rpm file, 
such as rpm -ivh **.rpm
2. The rpm has installed successfully
3. ssh.exec has no result return, and the programme running forever.

What is the expected output? What do you see instead?
The rpm install success and the programme finish. 
But the programme cannot stop.

What version of the product are you using? On what operating system?
I used 1.0

Please provide any additional information below.
The ssh script is as follwo:
echo 'a'
rpm -ivh ***.rpm
echo 'b'
exit 0

Even I added exit 0, exec cannot return the result

Original issue reported on code.google.com by Stainles...@gmail.com on 13 Jan 2014 at 7:12