You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 3, 2021. It is now read-only.
I am using certificate-cli to automate batching process and noticed that when I run batching command from my C# code it returns results as StandardError instead of StandardOutput. So when I read output after running the command it doesn't give me Batch Certificate Root hash.
```
Process p = new Process();
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.UseShellExecute = false;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.FileName = "node";
p.StartInfo.Arguments = "index.js batch unsigned_certs signed_certs";
p.Start();
p.Start();
Console.WriteLine(p.StandardOutput.ReadToEnd());
**Output:**
[BLANK]
==========================================================
But when I do the same and read error I am getting expacted output in StandardError
```
Process p = new Process();
p.StartInfo.RedirectStandardError = true;
p.StartInfo.UseShellExecute = false;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.FileName = "node";
p.StartInfo.Arguments = "index.js batch unsigned_certs signed_certs";
p.Start();
p.Start();
Console.WriteLine(p.StandardError.ReadToEnd());