Question #234363 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234363
Status: Open => Answered
RaiMan proposed the following answer:
at 1.
Just run the main (wrapping script) with --args (BTW: with 1.0.1+ -- is
sufficient as delimiter for the trailing user args)
At time of exec file(), the executed script just has access to sys.argv the
same way, as having been called directly.
You might even set new args :
sys.argv[n] = value # overwrite existing args
sys.argv.append(value) # add additional args to the end
at 2.
I will check after begin of September, wether there is some blocking when using
subprocess this way.
You could do me a favour and report this part as a bug: [1.0.1] using
subprocess seems to hang with click()
--
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