principal vago da estática (args da corda [])
{
System.Diagnostics.Process p = System.Diagnostics.Process novo ();
p.StartInfo.WorkingDirectory = firebirdInstallationPath;
p.StartInfo.UseShellExecute = falso;
p.StartInfo.RedirectStandardOutput = retificam;
p.StartInfo.FileName = “gsec.exe”;
p.StartInfo.Arguments = “- adicionar o prager - picowatt registra”;
p.Start ();
p.WaitForExit ();
amarrar a saída = o p.StandardOutput.ReadToEnd ();
}
|