← Back to team overview

sikuli-driver team mailing list archive

[Question #239950]: script hangs after ten minutes when launched via popen

 

New question #239950 on Sikuli:
https://answers.launchpad.net/sikuli/+question/239950

I am launching my Sikuli script from within a Python script like this:

            os.chdir(self.test_path)
            command = os.path.join(self.sikuli_path, 'runIDE.cmd') + ' -r QTP_Installer.sikuli --args ' + \
                      self.installer_path + ' ' + self.log_path + ' install'
            process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE)
            process.wait()


When I run the script, it always hangs about 10 minutes in. I know that it is not the test case it is on at the time, because if I run it by itself, it always works. Also, if I run the script from the command-line or within the IDE, it runs fine.

Is there a better way of doing what I am trying to do? If not, how would I go about troubleshooting this?

If it matters, I am on Win 7 (64-bit).

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.