public static bool Run(String executable)
{
bool retVal = true;
Log.Debug(executable);
var startInfo = new ProcessStartInfo();
startInfo.FileName = executable;
//Start the process.
try
{
Process.Start(startInfo);
}
catch (Exception e)
{
Log.Error("Error executing " + executable + ". Exception: " + e);
return false;
}
Log.Debug("Returning " + retVal);
return retVal;
}