We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b62833 commit d5813a2Copy full SHA for d5813a2
utils/exec.go
@@ -10,8 +10,13 @@ import (
10
/**
11
* 执行python脚本
12
*
13
+ * @param script string 要执行的Python脚本,应该是完整的路径
14
+ * @param args ...string 命令参数
15
+ * @return result string 执行的结果
16
+ * @return err error 错误
17
+ * @Description
18
* @author claer www.bajins.com
- * @date 2019/6/28 14:19
19
+ * @date 2019/7/16 16:52
20
*/
21
func ExecutePython(script string, args ...string) (result string, err error) {
22
if !IsFile(script) {
0 commit comments