EasyManua.ls Logo

COBHAM GRMON3 - Page 125

COBHAM GRMON3
239 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GRMON3-UM
June 2019, Version 3.1.0
125 www.cobham.com/gaisler
33. grmon::execsh - syntax
NAME
grmon::execsh - Run commands in the execution shell
SYNOPSIS
grmon::execsh
grmon::execsh subcommand ?arg?
DESCRIPTION
The grmon::execsh command is used to execute scripts in the execution shell. This command should be used to
manage execution hooks.
grmon::execsh eval arg ?arg ...?
Evaluate command arg in the execution shell. If a script is running, then the command will fail with the
error result set to EBUSY.
grmon::execsh interrupt name
Send an interrupt to the excution shell.
RETURN VALUE
grmon::execsh eval will return the result from the script.
EXAMPLE
Install an execution hook
grmon::execsh eval {
proc myhook1 {} {puts "Hello World"}
lappend ::hooks::preexec ::myhook1
}
SEE ALSO
Section 3.5, “Tcl integration”
Appendix C, Tcl API

Table of Contents