Question #243428 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243428

Jeremy posted a new comment:
It took me a bit, but here is what I have and it is working. Thank you.
I want to post what I have done in case other beginners would like more
information.

                Thread t = new Thread(new GameReboot());
                t.start();
//              try {
//                      t.join();
//              } catch (InterruptedException e) {
//                      // TODO Auto-generated catch block
//                      e.printStackTrace();
//              }

My run statement in my GameReboot:
        @Override
        public void run() {
                try {
                        runProcess();
                } catch (FindFailed e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                }
                
        }
I just call the function already created.

However, it fails when I use the join method. I think that is because it
makes it a part of the current process and has the same issue.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to