{
  "id": "go/os-exec-command-exit-status-127",
  "signature": "error: exit status 127",
  "signature_zh": "错误：退出状态127",
  "regex": "error:\\ exit\\ status\\ 127",
  "domain": "go",
  "category": "system_error",
  "subcategory": null,
  "root_cause": "The executed command returned exit code 127, typically meaning 'command not found' in Unix-like systems.",
  "root_cause_type": "generic",
  "root_cause_zh": "执行的命令返回退出码127，通常表示在类Unix系统中“命令未找到”。",
  "versions": [
    {
      "version": "1.20",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.21",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Assuming it's always a missing dependency",
      "why_fails": "Could be due to wrong path or shell script issue; check stderr.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Capture stderr and check for 'not found' message",
      "success_rate": 0.9,
      "how": "cmd := exec.Command(\"command\")\nvar stderr bytes.Buffer\ncmd.Stderr = &stderr\nif err := cmd.Run(); err != nil {\n    if strings.Contains(stderr.String(), \"not found\") { /* handle */ }\n}",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-12-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}