#!/bin/sh -f
# \
exec oagtclsh "$0" "$@"

#
# $Log: not supported by cvs2svn $
#

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 runProcTcl
package require comm
set abortRequest ""

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