diff --git a/build.cake b/build.cake index ed3373e..60523c9 100644 --- a/build.cake +++ b/build.cake @@ -31,8 +31,11 @@ Task("Run").IsDependentOn("CopyToMods").Does(() => { var exeDir = System.IO.File.ReadAllText($"{tinyLifeDir}/GameDir"); var process = Process.Start(new ProcessStartInfo($"{exeDir}/Tiny Life") { Arguments = $"-v --skip-splash --skip-preloads --debug-saves --ansi {args}", - CreateNoWindow = true + RedirectStandardOutput = true, + RedirectStandardError = true }); + process.BeginOutputReadLine(); + process.BeginErrorReadLine(); // we wait a bit to make sure the process has generated a new log file Thread.Sleep(1000);