ubEnviron

NAME

ubEnviron – list script environment

SYNOPSIS

ubEnviron –app <application> –dir <directory> {–module <application module>} {–format <tcl|bash default tcl>}

DESCRIPTION

ubEnviron sets up the environment variables required to run a Unibase application.

ubEnviron prints commands to set up the environment which should be processed with eval.

eg eval $(ubenv –application myApp –directory myDir –format bash)

The environment comes from the environ table for the user deflt plus the environ table entries for the current user (or $REMOTE_USER for web applications).

When complete the current working directory will ben the –dir value.

FLAGS

FLAGARGUMENTTYPEDESCRIPTION
–appapplication namestringname of the application to run
–dirworking directorystringrun the application in this directory
–moduleapplication moduleName of the application modules to run.
Used when a user only has access to a subset of the application.
–formatoutput formatcan be tcl or bash (default tcl)command output format suitable for a script language

ERRORS

EXAMPLE

SEE ALSO