strCmdText = "/C"+textBox1.Text + " --gtest_list_tests>>PathForGtest.txt"; System.Diagnostics.Process.Start("CMD.exe", strCmdText);
string h=Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), @"PathForGtest.txt"); System.IO.StreamReader file = new System.IO.StreamReader (h); while ((fileLine = file.ReadLine()) != null) { if ((fileLine.EndsWith("."))) { buffer = fileLine; continue; } else { line = fileLine.Trim(); propertyNode = propertyNode + 1; } propertyName = buffer + line;
try...catch
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)