Tried to make windows docker behave, failed, added code
access using: `colcon build --cmake-args -DCMAKE_CXX_FLAGS="-DWIN_DOCKER_IS_BROKEN"`
This commit is contained in:
parent
abf3496c78
commit
98cc5a6a3f
3 changed files with 9 additions and 2 deletions
|
@ -43,7 +43,12 @@ void run_one_executor(
|
|||
<< ": " << strerror(errno) << std::endl;
|
||||
std::cerr << "This operation requires root privileges. Please run the program with sufficient permissions."
|
||||
<< std::endl;
|
||||
#ifndef WIN_DOCKER_IS_BROKEN
|
||||
exit(EXIT_FAILURE);
|
||||
#else
|
||||
// Windows Docker workaround: just print the error and continue
|
||||
std::cerr << "Continuing without setting scheduler, fuck Windows" << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
// Set the process name to "ros_experiment" for easier identification during debugging or system monitoring.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue