'\" t .\" Title: globus-sh-exec .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 03/31/2018 .\" Manual: Grid Community Toolkit Manual .\" Source: Grid Community Toolkit 6 .\" Language: English .\" .TH "GLOBUS\-SH\-EXEC" "1" "03/31/2018" "Grid Community Toolkit 6" "Grid Community Toolkit Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" globus-sh-exec \- Run a shell script .SH "SYNOPSIS" .sp \fBglobus\-sh\-exec\fR [ \-help | \-usage | \-version ] .sp \fBglobus\-sh\-exec\fR \fICOMMAND\fR [\fIARGS\fR\&...] .sp \fBglobus\-sh\-exec\fR \-e \fIEXEC\fR .SH "DESCRIPTION" .sp The \fBglobus\-sh\-exec\fR command executes a shell script, setting the GLOBUS_SH_PERL and GLOBUS_SH environment variables to the perl and posix shell interpreters respectively\&. The \fICOMMAND\fR script can be a local file or a GASS url, in which case it is downloaded by \fBglobus\-url\-copy\fR before execution\&. The \fIARGS\fR parameters, if any, are passed as the command\-line options to \fICOMMAND\fR\&. .sp The full set of options to \fBglobus\-sh\-exec\fR are .PP \fB\-help, \-usage\fR .RS 4 Print usage information and exit\&. .RE .PP \fB\-version\fR .RS 4 Print version information and exit\&. .RE .PP \fB\-list, \-l\fR .RS 4 Lists the defined \fIGLOBUS_SH_\fR variables and exits\&. .RE .PP \fB\-exec \fR\fB\fIEXEC\fR\fR\fB, \-e \fR\fB\fIEXEC\fR\fR .RS 4 Run the command \fIEXEC\fR instead of executing a separate script\&. .RE .SH "AUTHOR" .sp Copyright \(co 1999\-2016 University of Chicago