code: def cmd_str_maker(self, cmd, args):
      return " ".join([cmd] + list(args))
  
file_path: nipy/tools/run_log_examples.py
imports: import os
  import re
  import sys
  from argparse import ArgumentParser, RawDescriptionHelpFormatter
  from os.path import abspath, dirname, expanduser, isfile
  from os.path import join
  from os.path import sep
  from subprocess import PIPE, Popen
label_desc: Use image node_id 2 for calling the ProcLogger obj's underlying member method code with example usage: obj.cmd_str_maker(cmd, args) and returns: str