[Gtk-sharp-list] Root Access
Jonathan Pryor
jonpryor at vt.edu
Mon Apr 21 08:45:31 EDT 2008
On Sun, 2008-04-20 at 11:42 -0400, Darwin Reynoso wrote:
> pc.StartInfo.FileName = "/home/user/bin/usb_pickit";
> pc.StartInfo.Arguments = "-e";
>
> this is how i do it within a console
> sudo /home/user/bin/usb_pickit -e any ideas please
One of these things is not like the other. One uses sudo and one
doesn't. :-)
You might try changing your C# code to be:
pc.StartInfo.FileName = "/usr/bin/sudo";
pc.StartInfo.Arguments = "/home/user/bin/usb_pickit -e";
- Jon
More information about the Gtk-sharp-list
mailing list