private static ProcessStartInfo GetJamStartInfo(bool includeModules)
{
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.Append("jam.pl LiveReloadableEditorAssemblies");
if (includeModules)
{
using (List <string> .Enumerator enumerator = ModuleManager.GetJamTargets().GetEnumerator())
{
while (enumerator.MoveNext())
{
string current = enumerator.Current;
stringBuilder.Append(" ").Append(current);
}
}
}
return(new ProcessStartInfo()
{
WorkingDirectory = Unsupported.GetBaseUnityDeveloperFolder(),
RedirectStandardOutput = true,
RedirectStandardError = false,
Arguments = stringBuilder.ToString(),
FileName = "perl"
});
}