Re: [Sikuli-driver] [Question #269254]: Wait until the process is completed

2015-07-17 Thread fordox
Question #269254 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269254 Status: Answered = Solved fordox confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers,

Re: [Sikuli-driver] [Question #269254]: Wait until the process is completed

2015-07-17 Thread RaiMan
Question #269254 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269254 Status: Open = Answered RaiMan proposed the following answer: tried urllib2 ?? about Popen.pid see the mentioned doc. about how to terminate a process using its pid form command line see the Windows

Re: [Sikuli-driver] [Question #269254]: Wait until the process is completed

2015-07-16 Thread fordox
Question #269254 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269254 Status: Answered = Solved fordox confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers,

Re: [Sikuli-driver] [Question #269254]: Wait until the process is completed

2015-07-16 Thread RaiMan
Question #269254 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269254 Status: Open = Answered RaiMan proposed the following answer: the docs for Jython subprocess.Popen http://www.jython.org/docs/library/subprocess.html there is Popen.poll() that can be used to check,

Re: [Sikuli-driver] [Question #269254]: Wait until the process is completed

2015-07-16 Thread fordox
Question #269254 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269254 Status: Solved = Open fordox is still having a problem: there is an error: [error] AttributeError ( 'Popen' object has no attribute 'terminate' ) on myApp.terminate() -- You received this question

Re: [Sikuli-driver] [Question #269254]: Wait until the process is completed

2015-07-16 Thread RaiMan
Question #269254 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269254 Status: Open = Answered RaiMan proposed the following answer: If you are working with the latest build of SikuliX 1.1.0, it should be there. … if not (using Jython 2.7) you have to get the pid using

Re: [Sikuli-driver] [Question #269254]: Wait until the process is completed

2015-07-16 Thread fordox
Question #269254 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269254 Status: Answered = Open fordox is still having a problem: In latest version of Sikuli unfortunately does not work properly module Urlib [error] java.lang.IllegalStateException (

Re: [Sikuli-driver] [Question #269254]: Wait until the process is completed

2015-07-15 Thread Eugene S
Question #269254 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269254 Eugene S posted a new comment: You probably should ask that question on StackOverflow or some other QA site as it's not a Sikuli specific question. -- You received this question notification because you

[Sikuli-driver] [Question #269254]: Wait until the process is completed

2015-07-15 Thread fordox
New question #269254 on Sikuli: https://answers.launchpad.net/sikuli/+question/269254 While True: . # some code if typei == '1': url = '/getsome' + rid args = ('C:\file.exe', '--silent' + url) popen = subprocess.Popen(args,