sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #09176
[Question #189628]: Launch gnome-terminal with args and wait close
New question #189628 on Sikuli:
https://answers.launchpad.net/sikuli/+question/189628
I have a cli-based application that outputs HUGE amounts of logs when running. Currently I use:
import subprocess, sys, os, os.path, shutil
MAPNinox=("/Astronomy/5-Permanent/Software/ninox/ninox -display -cut=150 -qestimator -qrenumber -resample=2/1 -outdir=/Astronomy/Sorted/2-Scratch/" + DATE.rstrip('\r\n') + "/" + TIME.rstrip('\r\n') + " /Astronomy/Transit/1-Corianders/" + DATE.rstrip('\r\n') + "/" + TIME.rstrip('\r\n'))
This write LOTS of message logs and slows down the app TOO much. I can't figure how to shut logs.
I would like to use:
MAPNinox=("gnome-terminal --title=NINOX --geometry=50x12 -x /Astronomy/5-Permanent/Software/ninox/ninox -display -cut=150 -qestimator -qrenumber -resample=2/1 -outdir=/Astronomy/Sorted/2-Scratch/" + DATE.rstrip('\r\n') + "/" + TIME.rstrip('\r\n') + " /Astronomy/Transit/1-Corianders/" + DATE.rstrip('\r\n') + "/" + TIME.rstrip('\r\n'))
When I use that, the app is now gnome-terminal with args passed to the term to make it 'autorun'
This is much faster, but sikuli steps right passed the gnome-terminal and I need it to wait until it's done.
TIA,
Mike
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.