想进入某个目录,执行某个应用程序,每次进入,带空格的文件,在linux很不好
写个脚本,进入目录,后台运行完后,返回当前目录。
#/bin/sh
oldpath=$(pwd)
cd /root/.wine/dosdevices/c:/Program\ Files\ \(x86\)/Source\ Insight\ 3/
./Insight3.Exe &
cd $oldpath
想进入某个目录,执行某个应用程序,每次进入,带空格的文件,在linux很不好
写个脚本,进入目录,后台运行完后,返回当前目录。
#/bin/sh
oldpath=$(pwd)
cd /root/.wine/dosdevices/c:/Program\ Files\ \(x86\)/Source\ Insight\ 3/
./Insight3.Exe &
cd $oldpath