Skip to content

Use PowerShell by default for legacy Windows recipes #601

Description

@leynos

Goal

Make PowerShell the default interpreter for Netsuke legacy command, ordered command-list, and script recipes on Windows. Keep Git Bash as an explicit opt-in compatibility route rather than making it the default Windows runtime.

Context

Issue #599 establishes the v0.1.x Windows legacy-recipe contract and native PowerShell launch smoke coverage. Ninja passes Windows command strings directly to CreateProcess, so Netsuke must explicitly select the recipe interpreter; the shell launching netsuke.exe must not decide it accidentally.

Requirements

  • Default legacy recipe execution to PowerShell on Windows.
  • Define explicit PowerShell semantics for scalar commands, ordered lists, scripts, quoting, paths, environment variables, and exit-code propagation.
  • Retain a documented, explicit Git Bash compatibility option for POSIX legacy manifests.
  • Prove both the selected interpreter and a PowerShell-launched end-to-end path.
  • Keep the v0.2.0 structured-command design in RFC RFC: structured command blocks and argv templates #573 as the longer-term route away from shell-string ambiguity.

Relationship

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestmediumRoadmap items to schedule within the current quarter. Clear scope, normal review cycles.testingTest coverage, test infrastructure, and verification tooling work.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions