2017-04-10 11:41:01 +00:00
#!/usr/bin/env bash
__scriptpath = $( cd " $( dirname " $0 " ) " ; pwd -P)
2018-01-29 19:03:06 +00:00
# Disable telemetry, first time experience, and global sdk look for the CLI
export DOTNET_CLI_TELEMETRY_OPTOUT = 1
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE = 1
export DOTNET_MULTILEVEL_LOOKUP = 0
2017-08-21 15:34:15 +00:00
# Source the init-tools.sh script rather than execute in order to preserve ulimit values in child-processes. https://github.com/dotnet/corefx/issues/19152
. $__scriptpath /init-tools.sh
2017-06-07 13:16:24 +00:00
2017-04-10 11:41:01 +00:00
__toolRuntime = $__scriptpath /Tools
__dotnet = $__toolRuntime /dotnetcli/dotnet
2017-10-19 20:04:20 +00:00
cd $__scriptpath
2018-01-29 19:03:06 +00:00
$__dotnet $__toolRuntime /run.exe $__scriptpath /config.json " $@ "
2017-04-10 11:41:01 +00:00
exit $?