更新时间:2023-01-31 20:02:35
有关你的shell脚本,直接可运行的,你必须:
For your shell script to be directly runnable you have to:
与#!/ bin / sh的启动它
(或#!/斌/庆典
,等等)。
您必须使其可执行,又名搭配chmod + X脚本
。
You have to make it executable, aka chmod +x script
.
如果你不想这样做,那么你将有路径的脚本来执行 / bin / sh的
。
If you don't want to do that, then you will have to execute /bin/sh
with the path to the script.
cmd := exec.Command("/bin/sh", mongoToCsvSH)