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

Exception in noexcept BoardRunner::build #6

Open
RuthgerD opened this issue Jan 23, 2021 · 2 comments
Open

Exception in noexcept BoardRunner::build #6

RuthgerD opened this issue Jan 23, 2021 · 2 comments
Labels
wontfix This will not be worked on

Comments

@RuthgerD
Copy link
Contributor

RuthgerD commented Jan 23, 2021

Call to bp:child() throws an exception when a path doesn't exist resulting in a swift terminate as BoardRunner::build is marked noexcept. Should probably do some path checking.

auto cmake_config = bp::child(
cmake_path,
std::move(dir_arg),
std::move(fqbn_arg),
std::move(sketch_arg),
"-P",
res_path.string() + "/RtResources/SMCE/share/Scripts/ConfigureSketch.cmake",
bp::std_out > cmake_out
);

terminate called after throwing an instance of 'boost::process::process_error'
  what():  execve failed: No such file or directory
@RuthgerD
Copy link
Contributor Author

Do have to note I have no idea what path is supposed to be missing.

@AeroStun AeroStun added the wontfix This will not be worked on label Jan 25, 2021
@AeroStun
Copy link
Member

Issue will be resolved later as part as the std::error_code-ification of the BoardRunner interface; will keep this issue open as a reminder until I actually open the ticket for std::error_code-ification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants