hanabi1224 / hanabi1224/Programming-Language-Benchmarks

Error trying to start process 'cp' on Windows

Open
#374 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
800
Forks
167
PR merge metrics
No merged PRs in 30d

Description

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:

```
[...]
2023/02/23 19:45:37.432 | Loading .\bench_wren.yaml 
2023/02/23 19:45:37.432 | Loading .\bench_zig.yaml 
2023/02/23 19:48:46.244 | [d] Running task build... 
2023/02/23 19:48:46.244 | Starting build task: d_linux_dmd_latest_default_helloworld_1 
2023/02/23 19:48:46.244 | Temp build folder: C:\Users\PC\AppData\Local\Temp\_bench\d_linux_dmd_latest_default_helloworld_1_x2zcapxl 
2023/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" 
2023/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.
[...]
```

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

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.