Skip to content

Commit d5813a2

Browse files
author
bajins
committed
优化注释
1 parent 3b62833 commit d5813a2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

utils/exec.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@ import (
1010
/**
1111
* 执行python脚本
1212
*
13+
* @param script string 要执行的Python脚本,应该是完整的路径
14+
* @param args ...string 命令参数
15+
* @return result string 执行的结果
16+
* @return err error 错误
17+
* @Description
1318
* @author claer www.bajins.com
14-
* @date 2019/6/28 14:19
19+
* @date 2019/7/16 16:52
1520
*/
1621
func ExecutePython(script string, args ...string) (result string, err error) {
1722
if !IsFile(script) {

0 commit comments

Comments
 (0)