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

Take the path to the executsble that was just created and replace the PATH_TO_EXE with the path to the .exe in the mine.rs. #11

Open
sutiao311 opened this issue Apr 16, 2024 · 1 comment

Comments

@sutiao311
Copy link

let mut child = tokio::process::Command::new("C:\ore-cli-gpu\target\release")
.stdin(std::process::Stdio::piped())
.stdout(std::process::Stdio::piped())
.stderr(std::process::Stdio::piped())
.spawn()
.expect("nonce_worker failed to spawn");

I set it this way, and it keeps showing an error. How do I set it

@Puckapao
Copy link

Puckapao commented Apr 16, 2024

add r before " and it should be cuda process not ore

r"C:\ore-cli-gpu\windows.exe"

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