Command exited with code: 1
What happened?
All shells suddenly exit with this code. Only restarting the terminal help.
What did you expect to happen?
The Shell commands working
Client information
- CLI Version: 0.19.0-nightly.20251121.5982abeff
- Git Commit: 5982abeff
- Session ID: 2072b06c-fdf1-482f-bff3-97f77f6af370
- Operating System: darwin v24.1.0
- Sandbox Environment: no sandbox
- Model Version: auto
- Memory Usage: 475.9 MB
- IDE Client: Antigravity
Login information
No response
Anything else we need to know?
No response
Thanks for reporting this. What's the behavior exactly? At first GCLI is calling the shell tool and it works and suddenly it stops working until you restart and when you do the agent calls shell and it works again? If you could send us a snippet from the chat when this happens that would help.
@scidomino I observed a similar problem on an Alpine distro running in WSL. The CLI was exiting with error code 1 silently without any previous warning. The version of client is 0.21.1, no sandbox, and using model auto (gemini 3). Meanwhile, using model auto (gemini 2.5) does not prevent the CLI to panic. I used the following input:
fix cargo check errors
and the CLI, after requesting a confirmation to run cargo check command, failed silently.
Interestingly, the CLI appears to haved crashed over a previous conversation, but I have no clue on their connections.