Re: [Sikuli-driver] [Question #679134]: Can Sikuli run a curl command on the command line?

2019-03-13 Thread RaiMan
Question #679134 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679134 Status: Open => Answered RaiMan proposed the following answer: as mentioned: use subProcess.Popen: https://www.jython.org/docs/library/subprocess.html#subprocess-subprocess-management ... but any findin

Re: [Sikuli-driver] [Question #679134]: Can Sikuli run a curl command on the command line?

2019-03-12 Thread arminius
Question #679134 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679134 Status: Answered => Open arminius is still having a problem: input import os first_part = r'curl -X GET "https://doc.tech.net/latest/characters/ME/assets/?datasource=server&page=1"; -H "accept:

Re: [Sikuli-driver] [Question #679134]: Can Sikuli run a curl command on the command line?

2019-03-12 Thread arminius
Question #679134 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679134 arminius posted a new comment: Oh, should add that the command returns a JSON, I'm either hoping to save it as an object so I can edit it's data, or I just want to save it in a .JSON file. Whichever is simp

Re: [Sikuli-driver] [Question #679134]: Can Sikuli run a curl command on the command line?

2019-03-12 Thread arminius
Question #679134 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679134 arminius posted a new comment: I can't use that till I get home. Is this a likely example? import os p = os.popen('curl -X GET "https://doc.tech.net/latest/characters/ME/assets/?datasource=server&

Re: [Sikuli-driver] [Question #679134]: Can Sikuli run a curl command on the command line?

2019-03-12 Thread RaiMan
Question #679134 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679134 Status: Open => Answered RaiMan proposed the following answer: for most flexibility, you should use Pythons subProcess.Popen() -- You received this question notification because your team Sikuli Driver

Re: [Sikuli-driver] [Question #679134]: Can Sikuli run a curl command on the command line?

2019-03-12 Thread arminius
Question #679134 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679134 Description changed to: I've run sikuli without the IDE many times, very familiar with doing that from the command line. Never actually exported a command to the command line though. example of the curl co

Re: [Sikuli-driver] [Question #679134]: Can Sikuli run a curl command on the command line?

2019-03-12 Thread arminius
Question #679134 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679134 Description changed to: I've run sikuli without the IDE many times, very familiar with doing that from the command line. Never actually exported a command to the command line though. example of the curl co

[Sikuli-driver] [Question #679134]: Can Sikuli run a curl command on the command line?

2019-03-12 Thread arminius
New question #679134 on Sikuli: https://answers.launchpad.net/sikuli/+question/679134 I've run sikuli without the IDE many times, very familiar with doing that from the command line. Never actually exported a command to the command line though. example of the curl command. curl -X GET "ht