gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Command rejected because it could not be parsed safely

Open prototowb opened this issue 1 month ago • 3 comments

What happened?

it can't use any shell commands and always returns "Command rejected because it could not be parsed safely".

What did you expect to happen?

Gemini CLI being able to run simple shell commands

Client information

using Gemini CLI 0.13.0 inside PowerShell

Login information

No response

Anything else we need to know?

No response

prototowb avatar Nov 08 '25 21:11 prototowb

Found possible duplicate issues:

  • #12519

If you believe this is not a duplicate, please remove the status/possible-duplicate label.

gemini-cli[bot] avatar Nov 08 '25 21:11 gemini-cli[bot]

i found a workaround. use WSL for gemini.

BenGuse219 avatar Nov 27 '25 16:11 BenGuse219

As @BenGuse219 said, using WSL helps! @prototowb

gorkemgul avatar Dec 17 '25 18:12 gorkemgul