| 25 | |
| 26 | type BackgroundTask struct { |
| 27 | TaskID string `json:"task_id"` |
| 28 | Command string `json:"command"` |
| 29 | Description string `json:"description"` |
| 30 | OutputPath string `json:"output_path"` |
| 31 | ErrorPath string `json:"error_path"` |
| 32 | Status string `json:"status"` |
| 33 | ExitCode *int `json:"exit_code"` |
| 34 | StartTime float64 `json:"start_time"` |
| 35 | EndTime *float64 `json:"end_time"` |
| 36 | } |
| 37 | |
| 38 | type RunningTask struct { |
| 39 | Cmd *exec.Cmd |
| 40 | Cancel context.CancelFunc |
nothing calls this directly
no outgoing calls
no test coverage detected