Mpall -
@dataclass class TaskResult: """Result of a single task execution.""" task_id: int args: Tuple success: bool stdout: str stderr: str exit_code: int duration: float retries: int timestamp: str = field(default_factory=lambda: datetime.now().isoformat())
parser.add_argument( "-c", "--command", required=True, nargs="+", help="Command to execute (use placeholder for replacements)" ) @dataclass class TaskResult: """Result of a single task
def debug(self, msg): self.logger.debug(msg) def info(self, msg): self.logger.info(msg) def warning(self, msg): self.logger.warning(msg) def error(self, msg): self.logger.error(msg) msg): self.logger.debug(msg) def info(self
```bash chmod +x mpall.py
mpall -w 2 -c echo hello -r {}