![]() ![]() It's all down to Powershell handling of variable expansion. I was able to reproduce the problem on my local Windows box so with the help of ProcessMonitor, thanks Lex Li, I figured out what was happening. I have verified that the variable has the expected value. bat file the reference was, of course, %OPENCL_SDK_NAME%. ![]() The actual command has $env:OPENCL_SDK_NAME instead of win-oclcpuexp-2021.12.9.0.24_rel. win-oclcpuexp-2021.12.9.0.24_rel.zip is present in the current directory and has the expected size.ĮDIT: For the sake of completeness I should say that the name is taken from an environment variable. I've tried running it from cmd.exe cmd.exe /C 7z -owin-oclcpuexp-2021.12.9.0.24_rel e win-oclcpuexp-2021.12.9.0.24_rel.zipĪnd also tried putting the command before the switch 7z e win-oclcpuexp-2021.12.9.0.24_rel.zip -owin-oclcpuexp-2021.12.9.0.24_relīut I still get the error. The identical command in a Powershell script on GitHub Actions CI using 7zip 22.01 running on Windows Server 2022 gets this error: 7-Zip 22.01 (圆4) : Copyright (c) 1999-2022 Igor Pavlov : bat file using 7zip 21.07 running on Windows Server 2019, and also with earlier Windows Server & 7z versions: 7z -owin-oclcpuexp-2021.12.9.0.24_rel e win-oclcpuexp-2021.12.9.0.24_rel.zip Without problems I've been using the following 7zip command on Appveyor CI in a. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |