Browse Source

Object graph visualizer - made neato.exe console window invisible.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4086 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Martin Koníček 16 years ago
parent
commit
0062436691
  1. 6
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Visualizers/Graph/Layout/Tree/NeatoProcess.cs

6
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Visualizers/Graph/Layout/Tree/NeatoProcess.cs

@ -32,12 +32,14 @@ namespace Debugger.AddIn.Visualizers.Graph.Layout @@ -32,12 +32,14 @@ namespace Debugger.AddIn.Visualizers.Graph.Layout
public static NeatoProcess Start()
{
System.Diagnostics.Process neatoProcess = new System.Diagnostics.Process();
string neatoPath = getNeatoExePath();
neatoProcess.StartInfo.FileName = neatoPath;
neatoProcess.StartInfo.FileName = getNeatoExePath();
neatoProcess.StartInfo.RedirectStandardInput = true;
neatoProcess.StartInfo.RedirectStandardError = true;
neatoProcess.StartInfo.RedirectStandardOutput = true;
neatoProcess.StartInfo.UseShellExecute = false;
neatoProcess.StartInfo.CreateNoWindow = true;
// tell neato to use splines instead of straigt lines
// output type = Graphviz's plain format
neatoProcess.StartInfo.Arguments = " -Gsplines=true -Tplain";
//p.EnableRaisingEvents = true;
neatoProcess.Exited += delegate {

Loading…
Cancel
Save