ubuntu 打开终端执行命令

#!/bin/sh
startMsg="start order..."
endMsg="order successfully..."
gnome-terminal -x bash -c "echo \"$startMsg\"; cd software/;java -jar selenium-server-standalone-2.25.0.jar"
 

猜你喜欢

转载自hhhk.iteye.com/blog/1717325