Commit Graph

17 Commits

Author SHA1 Message Date
Joe Kirchoff
b4b06d3119 EpicGames.Core: Ensure ManagedProcess threads start before Process.Exited callback runs, to handle cases where the spawned process completes extremely quickly
#rb trivial

[CL 16682085 by Joe Kirchoff in ue5-main branch]
2021-06-15 19:31:11 -04:00
Ben Marsh
0428c9e85b Join stdout/stderr threads before closing the buffering thread.
[CL 16669144 by Ben Marsh in ue5-main branch]
2021-06-14 23:23:34 -04:00
Ben Marsh
ed9295fb88 Swallow exceptions when copying output from stdout if a process is killed.
[CL 16668977 by Ben Marsh in ue5-main branch]
2021-06-14 22:58:32 -04:00
Ben Marsh
62a32a650b Manually copy stdout/stderr from managed framework processes asynchronously, in order to prevent garbled output when converting to/from strings.
[CL 16662357 by Ben Marsh in ue5-main branch]
2021-06-14 15:06:17 -04:00
joe kirchoff
b1dbb8de60 UnrealBuildTool: Remove LocalExecutor and use ParallelExecutor for all host platforms
Update ManagedProcess to capture stderr if using C# Process objects

#jira UE-117670
#rb Ben.Marsh

[CL 16647451 by joe kirchoff in ue5-main branch]
2021-06-11 17:19:03 -04:00
joe kirchoff
adb0960f09 [Backout] - CL16642253
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Remove LocalExecutor and use ParallelExecutor for all host platforms
Update ManagedProcess to capture stderr if using C# Process objects

#jira UE-117670
#rb Ben.Marsh
#preflight 60c2a1d3730f8a000185ae66
#preflight 60c2a5bab1a4a300012ea45d

[CL 16642682 by joe kirchoff in ue5-main branch]
2021-06-11 12:13:57 -04:00
Joe Kirchoff
96db72f088 UnrealBuildTool: Remove LocalExecutor and use ParallelExecutor for all host platforms
Update ManagedProcess to capture stderr if using C# Process objects

#jira UE-117670
#rb Ben.Marsh
#preflight 60c2a1d3730f8a000185ae66
#preflight 60c2a5bab1a4a300012ea45d

[CL 16642253 by Joe Kirchoff in ue5-main branch]
2021-06-11 11:40:36 -04:00
jonathan adamczewski
0af1ea99af Add a common C# method for detecting the current host platform to EpicGames.Core, and move many a test to use that code.
#jira none
#rb joe.kirchoff

[CL 16593582 by jonathan adamczewski in ue5-main branch]
2021-06-08 17:01:23 -04:00
Ben Marsh
d2f7a4d9e6 Horde: Automatically spawn a bundled copy of MongoDB if available. Data is stored in C:\ProgramData\Horde\Mongo by default.
[CL 16552409 by Ben Marsh in ue5-main branch]
2021-06-03 16:16:09 -04:00
Ben Marsh
f5b02c809e Fix ManagedProcess not correctly saving stdout/stderr handles on non-Windows platforms.
[CL 16247626 by Ben Marsh in ue5-main branch]
2021-05-10 09:09:21 -04:00
jonathan adamczewski
1f82bedc58 Removal some references to Mono
#trivial
#jira none

[CL 16171278 by jonathan adamczewski in ue5-main branch]
2021-04-30 14:34:17 -04:00
Ben Marsh
ab6a1064c1 Add new CopyToAsync() overloads.
[CL 16152979 by Ben Marsh in ue5-main branch]
2021-04-28 23:07:00 -04:00
Ben Marsh
3e5c8c98a5 Close stdin after writing input data to child processes. Perforce waits for the handle to be closed before processing the data.
#rb none
#rnx

[CL 15325165 by Ben Marsh in ue5-main branch]
2021-02-04 21:44:06 -04:00
Ben Marsh
8110d0ec47 Allow direct access to stdin/stdout/stderr in ManagedProcess.
#rb none

[CL 15262995 by Ben Marsh in ue5-main branch]
2021-01-29 18:33:11 -04:00
Ben Marsh
cbe83e599d Merging additional changes from Horde fork of EpicGames.Core.
#rb none
#rnx

[CL 14967570 by Ben Marsh in ue5-main branch]
2020-12-28 14:45:25 -04:00
Ben Marsh
3275355fdf Merging functionality from Horde fork of EpicGames.Core, and first pass on fixing up nullable annotations.
#rb none
#rnx

[CL 14967557 by Ben Marsh in ue5-main branch]
2020-12-28 14:34:13 -04:00
Ben Marsh
6f927647b1 Changing C# code over to using EpicGames.Core over DotNETCommon.
#rb none
#rnx

[CL 14962096 by Ben Marsh in ue5-main branch]
2020-12-21 23:07:37 -04:00