change Run method to Exec method and return stdout string.