title: Run orientdb server from c#
body: <p>I try run OrientDB server from c# code. When I run via Powershell my database works, but when I try run from code I get error like don't have connect to db.
  I thought problem is how long process starts but I used Thread.Sleep(20000) after processOrient.Start and it didn't help too.
  Other servers starts very well from code (but .exe files)
  My code:</p>
  <pre><code> ProcessStartInfo processInfoOrient = new ProcessStartInfo()
   {
         FileName = @&quot;B:\db\orientdb-3.0.29\bin\server.bat&quot;,           
         RedirectStandardError = true,
         RedirectStandardOutput = true,
         UseShellExecute = false,
         CreateNoWindow = false,
         WorkingDirectory = @&quot;B:\db\orientdb-3.0.29\bin&quot;
   };
  
   Process processOrient = new Process();
   processOrient.StartInfo = processInfoOrient;
   processOrient.Start();
  </code></pre>
  <p>How Can I do that? Thanks.</p>