Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Using WSL2 Terminals but Kiro is confused and has executePwsh errors all the time

Open walmsles opened this issue 1 week ago • 1 comments

Before opening, please confirm:

Operating System

Windows 11 (WSL2 Terminal environment)

Kiro Version

0.8.0

Bug Description

I use Kiro on Windows 11, but I do all my dev work in the WSL2 environment. This is all fine and works well (most of the time). I am continually having Kiro come back to me with:

I've been trying to use "executePwsh", but it's failed 7 times in a row. I'm clearly stuck in a loop.

What would you like me to do?

It feels like Kiro on Windows has a bias towards PowerShell, and it keeps getting into this state, which is very frustrating (it often happens multiple times in minutes).

I have a global steering file stating that Kiro should use wsl2 zsh terminal commands (this is the envirinment I operate in).

It would be nice for Kiro to detect the terminal setting in VSCOde config to understand the terminal and not insist that on Windows it needs to use PowerShell!

Steps to Reproduce

  1. Setup Kiro to use WSL2 shell
  2. Run spec driven tasks
  3. Kiro will eventually start failing with executePwsh confusion and be stuck in a loop.

I do not have more specific steps at this time.

Expected Behavior

It should read my steering files to start with, which would remove this annoyance!

Kiro should respect steering files at both the global and project levels (I find it doesn't always read them).

Conversation ID

96ad6f0c-6dad-4218-b02a-c79e0d713e2d

Additional Context

No response

walmsles avatar Jan 02 '26 02:01 walmsles