[Gtk-sharp-list] Root Access
monouser at gmail.com
Sun Apr 20 11:42:07 EDT 2008
does anyone knows how to execute a program with root access.
this is what i'm doing...
protected virtual void onErase (object sender, System.EventArgs e)
Process pc = new Process();
pc.StartInfo.FileName = "/home/user/bin/usb_pickit";
pc.StartInfo.Arguments = "-e";
pc.StartInfo.RedirectStandardOutput = false;
but i get a console output saying that i need super user power and
this is how i do it within a console
sudo /home/user/bin/usb_pickit -e any ideas please
More information about the Gtk-sharp-list