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
Call to
bp:child()throws an exception when a path doesn't exist resulting in a swift terminate asBoardRunner::buildis marked noexcept. Should probably do some path checking.libSMCE/src/SMCE/BoardRunner.cpp
Lines 122 to 130 in 3a65ba6