Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Run the given command using gksu.

        def gksu(cmd):
    """Run the given command using gksu."""    
    gksu_cmd = 'gksu "%s"' % cmd
    os.system(gksu_cmd)    
        


src/r/b/rbco.nautilusscripts-0.7/rbco/nautilusscripts/misc.py   rbco.nautilusscripts(Download)
 
    cmd = 'chown -R %s:%s %s' % (user, group, files)    
    util.gksu(cmd)
 
@nautilus_script