← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #264403]: App.open("cmd.exe") can't execute command

 

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

RaiMan posted a new comment:

the App usage not needed for this, simply needless.

run spawns a subprocess internally.

so this is sufficient:

output = run("cmd /C tskill explorer")

instead of
cmd = App.open("cmd.exe")
output = run("cmd /C tskill explorer")
App.close(cmd)

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