Code: Select all
try
{
if (File.Exists(strFileName))
{
Program.Log("Shell executing \"{0}\"...", strFileName);
Process p = new System.Diagnostics.Process();
p.StartInfo.FileName = strFileName;
p.StartInfo.UseShellExecute = true;
p.StartInfo.ErrorDialog = false;
p.Start();
}
else
{
Program.Log("Shell execute error: Cannot find file \"{0}\".", strFileName);
}
}
catch (Exception e)
{
OnUnhandledException(e);
}
From what I've been told, Process.Start() is layered on top of the ShellExecuteEx() Win32 function. Does Innerspace have a function hook in place that is botching up the string?