Skip to content

Commit 9ad6b3f

Browse files
committed
launch with `nice -n -10' . kernel will give higher priority to this
process.
1 parent 25f2828 commit 9ad6b3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ endif()
158158
add_custom_target(run
159159
DEPENDS cam_server upload
160160
COMMAND LD_LIBRARY_PATH=${CAMERA_SERVER_DIR}/external/lib
161-
${CMAKE_BINARY_DIR}/cam_server ${RUN_ARGS}
161+
nice -n -10 ${CMAKE_BINARY_DIR}/cam_server ${RUN_ARGS}
162162
COMMENT "Run arduino client and camera client ${RUN_ARGS}"
163163
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
164164
VERBATIM

0 commit comments

Comments
 (0)