run_iocsh¶
Package for running IOC and checking output.
Submodules¶
Exceptions¶
Exception raised when IOC is started a second time. |
|
Exception raised when the required module is not found. |
|
Exception raised when the iocsh script exits with a non null return code. |
|
Exception raised when a timeout occurred trying to send exit to the softIOC. |
|
Exception raised when shared library is missing. |
|
Base class for exceptions in this module. |
Classes¶
Class to wrap IOC process. |
Functions¶
|
Run an IOC, exit, and parse the output. |
Package Contents¶
- class run_iocsh.IOC(*args: str, timeout: float = 5.0)[source]¶
Class to wrap IOC process.
- executable = 'iocsh'¶
- state_values¶
- proc = None¶
- outs = ''¶
- errs = ''¶
- args = ()¶
- timeout = 5.0¶
- state¶
- exception run_iocsh.IocshAlreadyRunningError[source]¶
Bases:
RunIocshErrorException raised when IOC is started a second time.
- exception run_iocsh.IocshModuleNotFoundError[source]¶
Bases:
RunIocshErrorException raised when the required module is not found.
- exception run_iocsh.IocshProcessError[source]¶
Bases:
RunIocshErrorException raised when the iocsh script exits with a non null return code.
Only raised if no error was catched (and another exception raised).
- exception run_iocsh.IocshTimeoutExpiredError[source]¶
Bases:
RunIocshErrorException raised when a timeout occurred trying to send exit to the softIOC.
Bases:
RunIocshErrorException raised when shared library is missing.