def zfs_command(reactor, arguments):
    endpoint = ProcessEndpoint(reactor, b"zfs", [b"zfs"] + arguments,
                               os.environ)
    d = connectProtocol(endpoint, _AccumulatingProtocol())
    d.addCallback(lambda protocol: protocol._result)
    return d
Allow an application to set the locale for errors and warnings.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/volume/filesystems/zfs.py/zfs_command--crossover with--dataset/ETHPy150Open 64studio/pdk/pdk/xml_legacy/sax/saxlib.py/Parser.setLocale