snm_exec manual page
Table of Contents

NAME

snm_exec - execute a command and pause after the command exits

SYNOPSIS

snm_exec [ command_line ]

DESCRIPTION

snm_exec uses the Bourne shell's eval to execute a command, and then pause after the command has exited. snm_exec will prompt the user to press the Return key after execution completes.

snm_exec is usually used in Site/SunNet/Domain Manager schema files as the first argument to snm_cmdtool(1). When used as part of an elementCommand instance record in a schema file, it causes the Site/SunNet/Domain Manager Console to: create a new cmdtool(1), execute the argument of snm_exec, and wait for the user to press Return before killing the cmdtool window.

In the special case where arguments to the command being executed by snm_exec have embedded spaces, enclose the arguments in quotation marks, and precede each quote with the backslash escape character. For example:

% snm_exec command \"spaces within this argument\"

SEE ALSO

cmdtool(1) , snm_cmdtool(1), snm_schema(5)


Table of Contents