소스 검색

update Makefile

leon 2 달 전
부모
커밋
c30859a502
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      Makefile

+ 4 - 4
Makefile

@@ -1,17 +1,17 @@
 start:
 	nohup python3 infer.py > /dev/null 2>&1 &
 	@sleep 1s
-	@ps -ef | grep infer.py | grep -v grep
+	@ps -ef | grep infer.py | grep -v grep || true
 
 debug:
 	@python3 infer.py
 
 status:
-	@ps -ef | grep infer.py | grep -v grep
+	@ps -ef | grep infer.py | grep -v grep || true
 
 kill:
-	@ps -ef | grep infer.py | grep -v grep | awk '{print $$2}' | xargs kill
-	@ps -ef | grep infer.py | grep -v grep
+	@ps -ef | grep infer.py | grep -v grep | awk '{print $$2}' | xargs kill || true
+	@ps -ef | grep infer.py | grep -v grep || true
 
 log:
 	@tail -f log/runtime.log