'@param run_id: unique run ID for this roslaunch. Used to
generate log directory location. run_id may be None if this
feature is not being used.
@type  run_id: str
@param package: name of package process is part of
@type  package: str
@param name: name of process
@type  name: str
@param args: list of arguments to process
@type  args: [str]
@param env: environment dictionary for process
@type  env: {str : str}
@param log_output: if True, log output streams of process
@type  log_output: bool
@param respawn: respawn process if it dies (default is False)
@type  respawn: bool
@param cwd: working directory of process, or None
@type  cwd: str
@param is_node: (optional) if True, process is ROS node and accepts ROS node command-line arguments. Default: True
@type  is_node: False'

def __init__(self, run_id, package, name, args, env, log_output, respawn=False, required=False, cwd=None, is_node=True):

    super(LocalProcess, self).__init__(package, name, args, env, respawn, required)
    self.run_id = run_id
    self.popen = None
    self.log_output = log_output
    self.started = False
    self.stopped = False
    self.cwd = cwd
    self.log_dir = None
    self.pid = (-1)
    self.is_node = is_node
