if __name__ == "__main__":
global hoge
  def hoge():
    print("ok")
  p = Process(target=hoge)
  p.start()