Do not start interactive console if input is redirected

This commit is contained in:
JustArchi
2020-04-13 22:25:14 +02:00
parent 9703336e81
commit 60a36066e5

View File

@@ -106,7 +106,7 @@ namespace ArchiSteamFarm {
InitBotsComparer(botsComparer);
if (!GlobalConfig.Headless) {
if (!GlobalConfig.Headless && !Console.IsInputRedirected) {
Logging.StartInteractiveConsole();
}