2016-07-28 18:55:07 +03:00
#!/usr/bin/env bash
__scriptpath = $( cd " $( dirname " $0 " ) " ; pwd -P)
2017-05-05 18:27:43 +03:00
2017-12-02 16:13:55 +03: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-05-05 18:27:43 +03: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
2016-07-28 18:55:07 +03:00
__toolRuntime = $__scriptpath /Tools
__dotnet = $__toolRuntime /dotnetcli/dotnet
2017-06-15 01:49:11 +03:00
cd $__scriptpath
2018-01-22 20:19:49 +03:00
$__dotnet $__toolRuntime /run.exe $__scriptpath /config.json " $@ "
2016-07-28 18:55:07 +03:00
exit $?