From 82bb5321a906aa9bac7abca20e0e2d8e79262459 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Fri, 9 Oct 2020 19:49:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=A1=8C=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 4663e34..f06574d 100644 --- a/run.sh +++ b/run.sh @@ -5,7 +5,8 @@ export webClient=http://localhost:5000 function run(){ nohup yarn start & - findPortPid $PORT>$PORT.log + pid=`findPortPid $PORT` + ech $pid>$pid.log } if [ -e *.pid ]