From 170597e6563f48dd961d95a5c8c8a4a0424b691b Mon Sep 17 00:00:00 2001 From: zcy <290198252@qq.com> Date: Fri, 6 Aug 2021 01:08:07 +0800 Subject: [PATCH] no message --- general/src/function/daemon.cpp | 61 +++++++++++++++++++++++---------- 1 file changed, 42 insertions(+), 19 deletions(-) diff --git a/general/src/function/daemon.cpp b/general/src/function/daemon.cpp index e9da851..0bd6707 100644 --- a/general/src/function/daemon.cpp +++ b/general/src/function/daemon.cpp @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2021-07-23 23:39:57 - * @LastEditTime: 2021-08-01 15:47:32 + * @LastEditTime: 2021-08-06 01:07:45 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \generallib\general\src\function\daemon.c @@ -17,28 +17,51 @@ void _process_start(string path){ } pclose(file); } - vector StripList(const char *in,const char* d){ vector ret; + vector pos; + vector pos_strip_continue; + + int lastpos = -1; if((nullptr == in)|| (nullptr == d)){ return ret; } int len = strlen(in); + int sublen = strlen(d); + + for(int i = 0;i < strlen(in);i++){ + std::cout<