omero.plugins.script module¶
script plugin
Plugin read by omero.cli.Cli during initialization. The method(s) defined here will be added to the Cli class for later use.
The script plugin is used to run arbitrary blitz scripts which take as their sole input Ice configuration arguments, including –Ice.Config=file1,file2.
The first parameter, the script itself, should be natively executable on a given platform i.e. invokable by subprocess.call([file,…])
- class plugins.script.ScriptControl(*args: Any, **kwargs: Any)[source]¶
Bases:
BaseControl
- foreground_win(impl, timeout)[source]¶
Note: currently simply fails. An implementation might be possible using msvcrt. See: http://stackoverflow.com/questions/3471461/raw-input-and-timeout/3911560