Skip to content

Windows commands: Fix command execution output, exit codes, and verbose mode handling#72

Open
Artemeey wants to merge 31 commits into
verzly:masterfrom
Artemeey:fix-windows-php-install-quoting-2
Open

Windows commands: Fix command execution output, exit codes, and verbose mode handling#72
Artemeey wants to merge 31 commits into
verzly:masterfrom
Artemeey:fix-windows-php-install-quoting-2

Conversation

@Artemeey

Copy link
Copy Markdown
Contributor

Upgrade execute_cmd:

  • Fixed returning the correct command exit code
  • Fixed command output handling
  • Added support for paths and arguments containing spaces
  • Added cmd command output in verbose mode
  • Added streaming command output in verbose mode

Also fixed set env VERBOSE

Tested on:

  • Windows 11
  • Git Bash
  • Powershell
  • WSL2
  • PIE imagick/imagick
  • php@8.5.3 / php@8.5.5 / php@8.5.7

Artemeey and others added 30 commits June 20, 2026 20:15
Signed-off-by: Artemeey <artemeey.ru@mail.ru>
fix: use target PHP path for PIE extensions
# Conflicts:
#	bin/install-windows-php.ps1
#	hooks/post_install.lua
#	lib/tools.lua
# Conflicts:
#	hooks/post_install.lua
#	lib/tools.lua
- Fixed returning the correct command exit code
- Fixed command output handling
- Added support for paths and arguments containing spaces
- Added cmd command output in verbose mode
- Added streaming command output in verbose mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants