Файли
openidea/plugins/official/container-runner/openidea-example-wrapper
T

10 рядки
276 B
Bash
Виконуваний файл

#!/bin/sh
# Install this directory on PATH before granting process:openidea-example-wrapper.
case "$1" in
terminal) printf 'Example wrapper terminal finished\n'; exit 0 ;;
exec) shift ;;
*) exit 2 ;;
esac
if [ "$1" = --cwd ]; then cd "$2" || exit; shift 2; fi
exec "$@"