Mpall -
parser.add_argument( "--output-summary", help="Save summary to text file" )
if self.args.verbose: if result.stdout: self.logger.debug(f"Task result.task_id STDOUT:\nresult.stdout") if result.stderr: self.logger.debug(f"Task result.task_id STDERR:\nresult.stderr") parser
if self.args.output_summary: self._save_summary_text() for batch processing
Execute a command across multiple parallel processes (e.g., for batch processing, stress testing, or parallel data transformation) with unified output handling and error recovery. log_file: Optional[str] = None
class Logger: """Unified logging handler with file and console output.""" def (self, log_file: Optional[str] = None, verbose: bool = False): self.logger = logging.getLogger("mpall") self.logger.setLevel(logging.DEBUG if verbose else logging.INFO)
# mpall - Multi-Process All-in-One Launcher
return replacements