Skip to content

Crashes out when trying to run git status #45

@gfodor

Description

@gfodor

Not sure of the best way to report this, but hopefully this trace is enough. Was having o4-mini fix some issues with a 3rd party android repo, and it was wrapping up.

    command

    $ 'git status' --short

╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│Shell Command                                                                                                                                                                                                                                                                           │
│                                                                                                                                                                                                                                                                                        │
│$ 'git status' --short                                                                                                                                                                                                                                                                  │
│                                                                                                                                                                                                                                                                                        │
│Allow command?                                                                                                                                                                                                                                                                          │
│                                                                                                                                                                                                                                                                                        │
│  ❯ Yes (y) ✔                                                                                                                                                                                                                                                                           │
│    Yes, always approve this exact command for this session (a)                                                                                                                                                                                                                         │
│    Edit or give feedback (e)                                                                                                                                                                                                                                                           │
│    No, and keep going (n)                                                                                                                                                                                                                                                              │
│    No, and stop for now (esc)                                                                                                                                                                                                                                                          │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
node:events:485
      throw er; // Unhandled 'error' event
      ^

Error: spawn git status ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
Emitted 'error' event on ChildProcess instance at:
    at ChildProcess._handle.onexit (node:internal/child_process:292:12)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn git status',
  path: 'git status',
  spawnargs: [ '--short' ]
}

Node.js v23.7.0
zzz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions