from fabric.api import env, lcd, local
local("onmode -ky>"\'"C:\\Program Files\\HCL OneDB\\explore\\autotuner\\log\\db.log"\'"&& o