#!/bin/bash
CMD_PATH=`dirname $0`
#echo $CMD_PATH > /home/wubin/test
java -jar $CMD_PATH/Server.jar > $CMD_PATH/get.log & java -jar $CMD_PATH/Swifi_Sender_Server.jar > $CMD_PATH/send.log

 

执行到&,开启新进程继续执行。