parameters: (self, command, log_file_name)
docstring: Launch a subprocess and redirect stdout and stderr to log_file_name.
      Command will not be run if logging directory is not set.
docstring_summary: Launch a subprocess and redirect stdout and stderr to log_file_name.
      Command will not be run if logging directory is not set.
docstring_tokens: Launch a subprocess and redirect stdout and stderr to log_file_name . Command will not be run if logging directory is not set .
function: def _LaunchSubprocessWithLogs(self, command, log_file_name):
      """Launch a subprocess and redirect stdout and stderr to log_file_name.
      Command will not be run if logging directory is not set."""
  
      if not self._log_manager.IsLoggingEnabled():
        return
      log = self._log_manager.Open(log_file_name)
      subprocess.call(command,
                      stdin=open(os.devnull),
                      stdout=log,
                      stderr=subprocess.STDOUT)
function_tokens: def _LaunchSubprocessWithLogs ( self , command , log_file_name ) : if not self . _log_manager . IsLoggingEnabled ( ) : return log = self . _log_manager . Open ( log_file_name ) subprocess . call ( command , stdin = open ( os . devnull ) , stdout = log , stderr = subprocess . STDOUT )