You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* 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]
28 lines
587 B
C#
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();
|
|
}
|
|
}
|