Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

User Commands (p - r) run(1)
-extswap=/G/volume[/subvolume[/swapfile]]
Same as -swap, but any swap le specied is used to hold the extended data segment
for the TNS process. This ag has no impact on native processes.
-term=/G/terminal_name
Species the home terminal for the new process. If this ag is omitted, the new process
uses the OSS shells home terminal. terminal_name must be a valid name for a termi-
nal or process. If terminal_name is of the Guardian form $ZTNT.#PTY4, it must be
specied as /G/ZTNT/#PTY4.Ifterminal_name is of the Guardian form $name,it
must be specied as /G/name. For example, $TTY translates to /G/TTY.
DESCRIPTION
The run utility starts OSS programs with specic attributes. The run utility is implemented as a
built-in shell feature conforming to the POSIX.2 syntax standards. The child process of run
belongs to the same process group as that of the shell from which the run command was issued.
run allows OSS programs to run under the control of the symbolic debugger. run issues a
tdm_execve() function call with the specied executable image le path and the option operands
with which it was invoked.
Operands
program_file_path
The OSS lename of an executable image. An executable image is any type of OSS
le that has the execute permission bit set for the user, so that the OSS stat() function
identies the le as an executable image.
If the full OSS pathname is not specied, the directories listed in the environment vari-
able PATH are searched. If the run command is invoked without a program_le_path,
the usage string is displayed and run exits in error.
arguments
An optional list of arguments that are to be passed to the program le. The arguments
should be specied at the time the run command is invoked.
Environment Variables
LANG Determines the locale to be used for the locale categories when both the LC_ALL
variable and the corresponding environment variable (whose name begins with LC_)
do not specify a locale.
LC_ALL
Determines the locale to be used to override any values for locale categories specied
by the settings of the LANG variable or any environment variable whose name begins
with LC_.
LC_CTYPE
Determines the locale for the interpretation of bytes of text data as characters (for
example, single-byte versus multibyte characters in arguments).
LC_MESSAGES
Determines the locale to be used to affect the format and content of diagnostic mes-
sages written to the standard error le and informational messages written to the stan-
dard output le.
527188-007 Hewlett-Packard Company 761