Hi,
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;            
                pc.Start();
                
        }
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

thanks
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to