cmd /c and powershell, different results #4104
Unanswered
new-user-name
asked this question in
Bugs
Replies: 1 comment 1 reply
-
Looks like cmd is not working. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Deployer Version
v.7.5.12
Target OS
Windows 11
Which PHP version are you using?
PHP 8.4
Content of deploy.php or deploy.yaml
Steps to reproduce
runLocally("git config user.name", shell: "cmd /C");
gives
i.e. user.name is empty.
runLocally("git config user.name", shell: "powershell -");
gives
i.e. user.name as expected. I can pass any command to "cmd /C", like
runLocally("foobar", shell: "cmd /C");
the result is
Beta Was this translation helpful? Give feedback.
All reactions