Skip to content

Commit

Permalink
Add "call" to prevent the wrapper script from causing exit before AzD…
Browse files Browse the repository at this point in the history
…O reporter execution. (#7103)
  • Loading branch information
MattGal authored Mar 15, 2021
1 parent d88b466 commit f3c64d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private string ValidateMetadataAndGetXHarnessAndroidCommand(ITaskItem appPackage
string wrapperScriptName = IsPosixShell ? PosixAndroidWrapperScript : NonPosixAndroidWrapperScript;

string xharnessHelixWrapperScript = IsPosixShell ? $"chmod +x ./{wrapperScriptName} && ./{wrapperScriptName}"
: $"{wrapperScriptName}";
: $"call {wrapperScriptName}";

string xharnessRunCommand = $"{xharnessHelixWrapperScript} " +
$"dotnet exec \"{(IsPosixShell ? "$XHARNESS_CLI_PATH" : "%XHARNESS_CLI_PATH%")}\" android test " +
Expand Down

0 comments on commit f3c64d4

Please sign in to comment.