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

User Commands (m - o) osh(1)
the Guardian environment.
If only -name /G is specied, the operating system creates a unique four-character
process name.
The default action is to use the process name attribute for the program le of the
child process.
+name Starts the child process as an unnamed process. This specication is ignored if the
Guardian RUNNAMED process attribute is set in the program le for the child
process.
If you specify neither the -name nor the +name option, the default behavior is
+name.
-nowait Exits without waiting for the child process to terminate. The default action is to
wait for the child process to terminate.
-osstty Starts a copy of the OSSTTY process and redirects any OSS standard input, stan-
dard output, or standard error le through the process, to or from Guardian le sys-
tem objects, as specied by the redirection operators or the RUN options in the
same command. OSSTTY is started only if at least one of the objects specied
would otherwise not be accessible to the OSS program started by this command.
If -osstty is the only option specied and no redirection is requested in the com-
mand, OSSTTY does not start.
OSSTTY starts as a single-use process without a backup copy, on the same pro-
cessor as the osh process; osh ignores any server copies of OSSTTY that might
already be running. The instance of OSSTTY is given a 4-character process name
generated by the system and terminates as soon as the OSS application launched
by this command terminates.
All OSSTTY error messages are suppressed; the osh process issues its own error
messages instead. Output sent to standard les is not prexed with information to
identify its source (the -osstty ag does not use the OSSTTY -prexpid option).
Any OSS process started with a valid user ID can read or write data to a standard
le through the OSSTTY copy started by this command.
The standard error le cannot be redirected to a Guardian EDIT le.
When the -p or -c ag species an application program that cannot inherit OSS
standard les and you use the -osstty ag, standard le data is exchanged with one
or more of the following, as required:
standard input data
/G/abcd/#stdin
standard output data
/G/abcd/#stdout
standard error data
/G/abcd/#stderr
where abcd represents the 4-character process name generated for the copy of
OSSTTY.
The use of redirection specications affects this determination; see Redirection in
this reference page.
If the OSS process uses a Guardian process for its standard error le, OSSTTY
uses the process specied for the HOMETERM of that process for its standard
527188-007 Hewlett-Packard Company 697