sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #07307
Re: [Question #180340]: Launch terminal with arguments
Question #180340 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/180340
Description changed to:
Using some python n00b knowledge, I suspect you have to create a named
pipe to pass to something like gnome-terminal as arguments and not to
the binary app itself:
http://stackoverflow.com/questions/5558720/using-pythons-subprocess-to-
display-output-in-new-xterm-window
I get the error, " os.mkfifo(PIPE_PATH) AttributeError: 'module' object
has no attribute 'mkfifo'"
I am using variables and loops, which greatly complicate my code.
for TIME in TIMEFILE:
Popen(['gnome-terminal', '--title=MIKE', '--geometry=50x12', '-x', '/usr/local/bin/mike.sh', TIME, 'otherargs', PIPE_PATH])
Using Sikuli X-1.0rc2 on Ubuntu 10.04
Thanks!
Mike
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.