original_docstring: Run a tsunami scan using python subprocess.
  
          Args:
              target:  Target
              output_file: name of the output.
          
docstring: Run a tsunami scan using python subprocess.
docstring_tokens: Run a tsunami scan using python subprocess .
code: def _start_scan(self, target, output_file: str):
          """Run a tsunami scan using python subprocess.
  
          Args:
              target:  Target
              output_file: name of the output.
          """
  
          logger.info('staring a new scan for %s .', target.address)
  
          tsunami_command = ['java',
                             '-cp',
                             '/usr/tsunami/tsunami.jar:/usr/tsunami/plugins/*',
                             '-Dtsunami-config.location=/usr/tsunami/tsunami.yaml',
                             'com.google.tsunami.main.cli.TsunamiCli',
                             '--scan-results-local-output-format=JSON',
                             f'--scan-results-local-output-filename={output_file}',
                             self._get_target_arg(target)
                             ]
  
          subprocess.run(tsunami_command, encoding='utf-8', stdout=subprocess.DEVNULL, check=True)
code_tokens: def _start_scan ( self , target , output_file : str ) : logger . info ( 'staring a new scan for %s .' , target . address ) tsunami_command = [ 'java' , '-cp' , '/usr/tsunami/tsunami.jar:/usr/tsunami/plugins/*' , '-Dtsunami-config.location=/usr/tsunami/tsunami.yaml' , 'com.google.tsunami.main.cli.TsunamiCli' , '--scan-results-local-output-format=JSON' , f'--scan-results-local-output-filename={output_file}' , self . _get_target_arg ( target ) ] subprocess . run ( tsunami_command , encoding = 'utf-8' , stdout = subprocess . DEVNULL , check = True )
short_docstring: Run a tsunami scan using python subprocess.
short_docstring_tokens: Run a tsunami scan using python subprocess .
comment: """Run a tsunami scan using python subprocess.
  
          Args:
              target:  Target
              output_file: name of the output.
          """