← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #189628]: Launch gnome-terminal with args and wait close

 

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

RaiMan posted a new comment:
MAPNinox in both cases contains the command you want to issue.

But how do you issue the command from the Sikuli script?

What about using subprocess? There are many options.

The easiest way:
- before issuing the command create a null-content-file somewhere 
- pack your app call in a shell script, that deletes this file after your app has terminated
- after issuing the command to launch the shell script from the script, look every second or so, wether the file still exists
- continue your Sikuli script after the file is deleted

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