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
Add execPath function #1743
Add execPath function #1743
Conversation
src/ops.rs
Outdated
) -> Box<Op> { | ||
let builder = &mut FlatBufferBuilder::new(); | ||
let path = | ||
builder.create_string(std::env::current_exe().unwrap().to_str().unwrap()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@sh7dm can you make it green? |
@ry will do! |
@sh7dm I've cleaned up the code, fixed the test, and changed execPath from a function into a constant string defined at startup. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #1723
TODO: