#!/bin/sh
#
# Submit script example for GridSolve batch system.
#
# Arguments:  GridSolve will pass one argument to the submit
# script, which is the name of the batch executable to be run.
# Also you should pass one argument to the batch executable,
# which is the request directory.  You should normally use $PWD
# since this script would be invoked by the service process
# which is already in the request directory, but the batch
# executable needs to know where to begin.
#
# Whatever back-end system you submit to, this script should
# only produce one line on stdout: a job identifier that can
# be used by the probe and cancel scripts to check status and
# kill the job, respectively.
#
# GridSolve submit scripts should exit with status 0 on success
# and non-zero on error.
#

exec $1 $PWD &> /dev/null &
echo $!
