shell脚本调用aexe程序
要在shell脚本中调用a.exe程序,可以使用以下命令:
#!/bin/bash
path/to/a.exe arg1 arg2 arg3
其中,path/to/a.exe是a.exe程序的路径,arg1 arg2 arg3是a.exe程序的参数。根据实际情况修改即可。
注意,在Linux中,需要给a.exe程序加上可执行权限,才能在shell脚本中调用。可以使用chmod +x path/to/a.exe命令给a.exe程序加上可执行权限。
原文地址: https://www.cveoy.top/t/topic/rAo 著作权归作者所有。请勿转载和采集!