Hey Guys I'm trying to run apt-get from my GTK# program with:
Process proc = new System.Diagnostics.Process(); proc.StartInfo.FileName = "/bin/bash"; proc.StartInfo.Arguments = "-c apt-get install -y fortunes-off"; proc.StartInfo.UseShellExecute = false; proc.StartInfo.RedirectStandardOutput = true; proc.Start(); The problem I'm having it will not work, I've tried running it as root, putting sudo before it and nothing works. Anyone know how to overcome it? -- View this message in context: http://mono.1490590.n4.nabble.com/GTK-Ubuntu-Debian-question-tp4667192.html Sent from the Mono - Gtk# mailing list archive at Nabble.com. _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
