Linux下Ant启动终端并执行shell文件的方法
2013-09-25 14:28
441 查看
<target name="runDo"> <exec executable="gnome-terminal" spawn="true"> <arg line="-t 'Title' --geometry=120x80 -e '/script/path/bin/do.sh'"/> </exec> </target>
引用:
http://stackoverflow.com/questions/2177362/how-do-you-launch-a-shell-script-from-ant-on-a-mac
相关文章推荐
- windows下C++调用shell启动和关闭可执行文件exe的最简单方法
- Linux下运行Shell脚本或者可执行文件Executable方法
- Linux下为可执行shell脚本文件(.sh),制作桌面启动快捷方式
- shell脚本判断linux文件修改时间后执行操作
- 安装交叉编译工具,执行arm-linux-gcc –v命令出现提示找不到该文件或目录?解决方法
- linux怎么远程执行另一台linux机器上的shell文件?
- Linux启动和关闭时自动执行的所有脚本文件
- 简易登录,批量执行命令,批量copy文件shell脚本【Linux运维之道之脚本案例】 推荐
- php执行shell更新svn文件的方法
- 简易登录,批量执行命令,批量copy文件shell脚本【Linux运维之道之脚本案例】
- Linux执行.sh文件,提示No such file or directory的问题的解决方法
- linux 下shell脚本执行多个命令的方法
- linux下写C程序,执行shell文件
- Linux中执行shell脚本的4种方法
- linux 下制作可启动 img/iso 文件的方法
- Linux中执行shell脚本的4种方法总结
- Linux中将c文件编译成可执行文件的方法
- mysql在终端执行sql并把结果写入文件的方法
- Linux下执行可执行文件提示:No such file or directory的解决方法
- linux的shell脚本中执行多个命令的方法