feat: add config path config

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-08-11 21:19:19 +08:00
parent d9e4899da5
commit 2d035f0029
18 changed files with 822 additions and 168 deletions
+7
View File
@@ -896,6 +896,13 @@ function openim::util::run::relative() {
done
}
function openim::util::onCtrlC () {
#Capture CTRL+C, terminate the background process of the program when the script is terminated in the form of ctrl+c
kill -9 ${do_sth_pid} ${progress_pid}
echo
echo '!!! openim: Ctrl+C is captured'
exit 1
}
# input: [10023, 2323, 3434]
# output: 10023 2323 3434