summaryrefslogtreecommitdiffstats
path: root/testModule/process-name-wrapper.sh
blob: 36712e510bdb825d110f21da6fb160dc5293594e (plain) (blame)
1
2
3
4
5
#!/bin/bash

programPath="$(echo "$0" | sed --regexp-extended 's/^(.*)@([^/]+)$/\1\2/')"
echo "Run \"$programPath\" with arguments \"${@}\"." && \
exec "$programPath" "$@"