我尝试使用bash -c传递参数,但是通过变量调用脚本时,它不会附加参数。 runScript="kubectl -n nmspc exec $POD -- bash -c \"export curIP=123 ...
確定! 回上一頁