code: def wait_job(process, cmd_str):
      """Wait process finish its job"""
      retcode = process.wait()
      mesg = "Fail with retcode(%s): %s" % (retcode, cmd_str)
      if retcode != 0:
          raise RuntimeError(mesg)
  
file_path: ogb/examples/lsc/wikikg90m/dgl-ke-ogb-lsc/python/dglke/dist_train.py
imports: import os
  import stat
  import sys
  import subprocess
  import argparse
  import socket
  from .utils import CommonArgParser
label_desc: Use image node_id 5 for calling a global function with example usage: wait_job(process, cmd_str) without return types