Skip to content

Conversation

@rokonec
Copy link
Member

@rokonec rokonec commented Aug 29, 2022

Context

MSBuild server runs as long live process, similar to VBCSCompiler, as oppose to formal short living console application.
Custom Tasks which execute child process from might be broken, as output from child processes started from detached parent process are not redirected to parent process.

This PR addresses issue: dotnet/msbuild#7913

Unblocks

Changes made

Redirects outputs of child process running install-script.sh which makes it agnostics if run from process attached to terminal or form detached process such as msbuild server or worker node.

NOTE

This is second try as the 1st one causes failing tests in arcade-validation.
See: dotnet/arcade-validation#3323 and #10585

@rokonec rokonec requested a review from MattGal August 29, 2022 13:57
@MattGal
Copy link
Member

MattGal commented Aug 30, 2022

@rokonec rokonec merged commit d733765 into main Aug 30, 2022
MattGal added a commit to MattGal/arcade that referenced this pull request Sep 6, 2022
…dotnet#10629)

* Redirect InstallDotNetCore child processes stdout and stderr
MattGal added a commit that referenced this pull request Sep 7, 2022
…#10629) (#10753)

* Redirect InstallDotNetCore child processes stdout and stderr
@akoeplinger akoeplinger deleted the rokonec/redirect-InstallDotNetCore-process-stds branch November 22, 2022 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants