Mono GTK# App closes after trying to read process output
===

    System.Diagnostics.Process proc = new System.Diagnostics.Process();
    proc.EnableRaisingEvents=false;
    proc.StartInfo.FileName="id";
    proc.StartInfo.Arguments="-un";
    proc.Start();
    string nome_user = proc.StandardOutput.ReadToEnd();
Hi folks, when I try to read process output using **proc.StandardOutput.ReadToEnd();**, the app closes and no error is shown. When I use the Watch to see what is the value of **proc.StandardOutput.ReadToEnd()**, I got the following string : **System.InvalidOperation.Exception: Standard output has not been redirected**.