Files
UnrealEngineUWP/Engine/Source/Programs/BuildAgent/ProgramMode.cs
Ben Marsh d6115a8104 Fixes for BuildAgent:
* Prevent TerminateAllChildProcesses from being called before listeners have been disposed. This was terminating ectool before it had finished updating properties.
* Propagate exit code from child process as the exit code for BuildAgent.exe.
* Write EC XML output to a temporary file and move it into place, to fix issues where a job was aborted mid-write.

#rb none
#rnx

[CL 9391349 by Ben Marsh in Dev-Build branch]
2019-10-03 10:50:19 -04:00

28 lines
587 B
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Tools.DotNETCommon;
namespace BuildAgent
{
abstract class ProgramMode
{
public virtual void Configure(CommandLineArguments Arguments)
{
Arguments.ApplyTo(this);
}
public virtual List<KeyValuePair<string, string>> GetParameters(CommandLineArguments Arguments)
{
return CommandLineArguments.GetParameters(GetType());
}
public abstract int Execute();
}
}