ibeard
9 years agoOccasional Contributor
I have a working python script, but it does not work in TestComplete
My script is simple, ssh to a Linux machine and run a script there.
import subprocess def test(): HOST="user@host" COMMAND="/tmp/MyScript" subprocess.Popen("ssh " + HOST + " " + COMMAND, shell=True)
It works perfectly when I run the script outside of TestComplete, but does nothing within TestComplete. I cannot figure out what is going on because there are no errors. From using 'netstat' on the Linux machine, I see that the ssh connection is never estapblished. Makes it look like Popen is not working. Does this not work in TestComplete for some reason?