cargo-ui icon indicating copy to clipboard operation
cargo-ui copied to clipboard

Feature request: Ability to set working directory for runnables

Open crumblingstatue opened this issue 2 years ago • 2 comments

For instance, some examples require certain resources that are contained in a specific folder.

crumblingstatue avatar Oct 25 '21 19:10 crumblingstatue

What language are you using to interact with SixtyFPS? Most language support a way to set the working directory. std::env::set_current_dir in rust or std::filesystem::current_path in C++. Or do i misunderstand the question?

ogoffart avatar Oct 25 '21 20:10 ogoffart

Appologies. When writing my previous comment i thought it was in a different repository so I did not understand the feature request correctly.

This is an absolutely valid feature request.

I wonder how to present that without cluttering the UI. Maybe an advanced panel could be opened with some buttons to specify more options like the PWD or other env variables. (like RUST_BACKTRACE=1 for example). There are many more settings that could be set.

ogoffart avatar Oct 25 '21 20:10 ogoffart