awips2/build/deploy.edex.awips2/esb/bin/scriptLauncher
2022-05-05 12:34:50 -05:00

10 lines
No EOL
452 B
Bash
Executable file

#!/bin/sh
# This starts the desired script passing the script name and arguments as a
# single string ("$@"). It then sends stdout/stderr to the bit bucket
# (>&/dev/null).
# The stdin for the script is also the bit bucket (</dev/null) so if used it
# immediately indicates end of file. Finally the script is set to run in the
# background (&) so the launcher returns without waiting for the script to
# return.
exec "$@" >&/dev/null </dev/null &