code: def build_single(mode):
      
      if mode == 'force':
          amode = ['-a']
      else:
          amode = []
      if executable.endswith('uwsgi'):
          # hack, might fail in some environments!
          _executable = executable[:-5] + 'python'
      else:
          _executable = executable
      p = subprocess.Popen([_executable, '-m', 'nikola', 'build'] + amode,
                           stderr=subprocess.PIPE)
      p.wait()
      rl = p.stderr.readlines()
      try:
          out = ''.join(rl)
      except TypeError:
          out = ''.join(l.decode('utf-8') for l in rl)
      return (p.returncode == 0), out
docs: Build, in the single-user mode.