Parcourir la source

修改kill命令

leon il y a 3 semaines
Parent
commit
5844e291ca
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      Makefile

+ 2 - 1
Makefile

@@ -10,7 +10,8 @@ status:
 	@ps -ef | grep infer.py | grep -v grep
 
 kill:
-	@$(shell ps -ef | grep infer.py | grep -v grep | awk '{print $2}' | xargs kill)
+	@ps -ef | grep infer.py | grep -v grep | awk '{print $$2}' | xargs kill
+	@ps -ef | grep infer.py
 
 log:
 	@tail -f log/runtime.log