Aar*_*lla 15
将名称(最好带有绝对路径)和参数放在列表中并调用execute():
['/path/to/script', 'arg1', 'arg2'].execute()
Run Code Online (Sandbox Code Playgroud)
Groovy 文档建议使用简单的字符串.我建议反对,因为它可能导致特殊字符,参数中的空格等各种问题.
| 归档时间: |
|
| 查看次数: |
12637 次 |
| 最近记录: |