#!/bin/sh # 获取当前脚本所在目录的绝对路径 SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" echo "脚本当前目录:$SCRIPT_DIR" mono "$SCRIPT_DIR"/bin/publish/BenzObstacleDetect.exe