8

Can't write input to process C# Mono

view full story
linux-howto

http://stackoverflow.com – I'm having a issue trying to write input to linux process. Here the code goes: System.Diagnostics.Process process = new System.Diagnostics.Process(); process.StartInfo.WorkingDirectory = "'/home/"+user+"/pacotes/"+nome_pacote.Text+"-1.0/'"; process.StartInfo.FileName="dh_make"; process.StartInfo.Arguments="-n -s"; process.StartInfo.UseShellExecute = false; process.StartInfo.RedirectStandardInput = true; process.Start(); Thread.Sleep(3000); process.StandardInput.WriteLine(); And here goes the error: System.IO.IOExcep (HowTos)