v1.0.12
cli_script v1.0.12
Bug fix release — 2026-02-25
Bug Fixes
- Windows Subprocess Environment Stabilization — Addressed an issue where spawning subprocesses with
includeParentEnvironment: falsewould crash on Windows. TheScriptclass now automatically injectsSystemRootandWINDIRinto the isolated environment, which are required for the Dart executable to spawn reliably. (#5) - Windows Absolute Glob Pattern Normalization — Fixed an issue where absolute Windows paths with globs (e.g.,
C:\path\*.txt) failed to expand.CliArgumentsnow correctly normalizes drive prefixes and backslashes to POSIX separators (/) forpackage:globcompatibility before resolving them. (#5) - Escaped Glob Syntax Preservation — Handled edge cases with escaped Windows absolute glob patterns to ensure UNC paths and explicitly escaped glob characters (like
\\*.txt) are preserved and not corrupted during argument parsing. (#5)
Upgrade
dart pub upgrade cli_scriptContributors
Thanks to everyone who contributed to this release:
Issues Addressed
No linked issues for this release.