#!/bin/sh -f
# \
exec oagwish "$0" "$@"
wm withdraw .

#
# $Log: not supported by cvs2svn $
# Revision 1.3  2000/10/05 19:34:11  borland
# Use oagtclsh instead of oagwish.
#
# Revision 1.2  1999/12/02 14:47:36  soliday
# Added catch statement around puts command
#
# Revision 1.1  1996/10/16 16:21:14  saunders
# Moved here from other modules.
#
#

set auto_path [linsert $auto_path 0 /usr/local/oag/apps/lib/$env(HOST_ARCH)]
set auto_path [linsert $auto_path 0 /usr/local/oag/lib_patch/$env(HOST_ARCH)]
set cwd [pwd]
set auto_path [linsert $auto_path 0 $cwd]

APSStandardSetup
set apsPemStackPrefix runProc
package require comm
set abortRequest ""

if {[string length $argv]} {
    if [catch {eval $argv} res] {
	catch {puts stderr $res}
    } else {
	catch {puts stdout $res}
    }
}
exit
