Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error trying to start process 'cp' on Windows #374

Open
etcimon opened this issue Feb 24, 2023 · 1 comment
Open

Error trying to start process 'cp' on Windows #374

etcimon opened this issue Feb 24, 2023 · 1 comment

Comments

@etcimon
Copy link

etcimon commented Feb 24, 2023

I can't run the benchmarks on my computer (Windows 10) after installing all the pre-requisites.

I'm using VS2022 x64 native tools command prompt with DotNet 7 installed, the command is:

dotnet run -p tool -- --task build --langs d --problems nbody helloworld --force-rebuild

The output is:

[...]
�[97m2023/02/23 19:45:37.432 | Loading .\bench_wren.yaml �[0m
�[97m2023/02/23 19:45:37.432 | Loading .\bench_zig.yaml �[0m
�[92m2023/02/23 19:48:46.244 | [d] Running task build... �[0m
�[92m2023/02/23 19:48:46.244 | Starting build task: d_linux_dmd_latest_default_helloworld_1 �[0m
�[97m2023/02/23 19:48:46.244 | Temp build folder: C:\Users\PC\AppData\Local\Temp\_bench\d_linux_dmd_latest_default_helloworld_1_x2zcapxl �[0m
�[97m2023/02/23 19:48:46.244 | Command[shell:False,print:True,async:False,pwd:F:\Development\Programming-Language-Benchmarks\bench]:: cp -a "include\d"  "C:\Users\PC\AppData\Local\Temp\_bench\d_linux_dmd_latest_default_helloworld_1_x2zcapxl" �[0m
�[91m2023/02/23 19:48:46.244 | System.ComponentModel.Win32Exception: An error occurred trying to start process 'cp' with working directory 'F:\Development\Programming-Language-Benchmarks\bench'. The system cannot find the file specified. System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'cp' with working directory 'F:\Development\Programming-Language-Benchmarks\bench'. The system cannot find the file specified.�[0m
[...]

I've also tried powershell and it's the same problem.

Thanks!

@hanabi1224
Copy link
Owner

It does not support windows yet. Please use wsl/wsl2 on windows

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

No branches or pull requests

2 participants