#!/bin/bash

# This file is part of IKR SimTree
# (C) 2009-2014 University of Stuttgart, IKR

# Hook file template which executes a simulation through SimTree exec on the local host

# %%HOOK_FILE_SOURCE_COMMENT%%

# For control to work, stdin, stdout and stderr must be passed transparently up/down

### Parameters

# The name of the command with all its parameters
COMMAND="%%COMMAND%%"

############
### Main

exec $COMMAND

# exec will not return except in case of exec failure

exit $?

# End of file
