We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe1085b commit 797e579Copy full SHA for 797e579
IntegrationEngine.ConsoleHost/Program.cs
@@ -11,7 +11,8 @@ public class Program
11
public static EngineHost EngineHosts { get; set; }
12
public static void Main(string[] args)
13
{
14
- if (!Environment.UserInteractive)
+ var isRunningUnderMono = Type.GetType("Mono.Runtime") != null;
15
+ if (!Environment.UserInteractive && !isRunningUnderMono)
16
17
// Set current working directory as services use the system directory by default.
18
Directory.SetCurrentDirectory(AppDomain.CurrentDomain.BaseDirectory);
0 commit comments