Explorar el Código

修改kill命令

leon hace 3 semanas
padre
commit
5844e291ca
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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