pyque/sh.py
def chmod(path, mode, recursive=True):
    """ alternative to os.
    """

    if recursive:
        cmd = 'chmod -R %s %s' % (mode, path)
    else:
        cmd = 'chmod %s %s' % (mode, path)

    return sh(cmd)
def chmod(path, mode, recursive=True):
    if recursive:
        cmd = 'chmod -R %s %s' % (mode, path)
    else:
        cmd = 'chmod %s %s' % (mode, path)

    return sh(cmd)
def chmod ( path , mode , recursive = True ) : if recursive : cmd = 'chmod -R %s %s' % ( mode , path ) else : cmd = 'chmod %s %s' % ( mode , path ) return sh ( cmd )
alternative to os.
alternative to os .