← Back to team overview

sikuli-driver team mailing list archive

[Bug 1076372] Re: [request] improvement for run command

 

Hello,

I've made an alternative Run() method recently and I thought i'd share
it.

I initially needed a different method as Sikuli was hanging when I was
executing remote commands (psexec, winrs etc), as the external program
would fail, and send the result back through the error pipe (which the
old method wasn't handling).

Feel free to use it as you like.

Grant.

** Attachment added: "SikuliScript.java"
   https://bugs.launchpad.net/sikuli/+bug/1076372/+attachment/3765793/+files/SikuliScript.java

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1076372

Title:
  [request] improvement for run command

Status in Sikuli:
  In Progress

Bug description:
  In GUI mode the run(command) should show the console window.

  In CLI mode the run(command) could optionally show the console window.

  Either way, it should check the exit code and either return it or
  fail.

  Without such improvement, it's just like submodule.call()

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1076372/+subscriptions


References