code: def execute_command(command):
      """Runs a kaldi job in the foreground and waits for it to complete; raises an
      exception if its return status is nonzero.  The command is executed in
      'shell' mode so 'command' can involve things like pipes.  Often,
      'command' will start with 'run.pl' or 'queue.pl'.  The stdout and stderr
      are merged with the calling process's stdout and stderr so they will
      appear on the screen.
  
      See also: get_command_stdout, background_command
      """
      p = subprocess.Popen(command, shell=True)
      p.communicate()
      if p.returncode is not 0:
          raise Exception(
              "Command exited with status {0}: {1}".format(
                  p.returncode, command
              )
          )
  
imports: from __future__ import print_function
  from __future__ import division
  import argparse
  import logging
  import math
  import os
  import subprocess
  import sys
  import threading
label_desc: Use image node_id 4 for calling a global function with example usage: execute_command(command) without return types