|
@@ -40,6 +40,7 @@ type ExecuteResult struct {
|
|
|
Stdout string `json:"stdout"` ///////// 标准输出
|
|
Stdout string `json:"stdout"` ///////// 标准输出
|
|
|
Stderr string `json:"stderr"` ///////// 错误输出
|
|
Stderr string `json:"stderr"` ///////// 错误输出
|
|
|
ExitCode int `json:"exit_code"` ///////// 退出状态码: 0表示成功, 非0表示失败
|
|
ExitCode int `json:"exit_code"` ///////// 退出状态码: 0表示成功, 非0表示失败
|
|
|
|
|
+ Cwd string `json:"cwd"` ///////// 当前目录
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type limitedBuffer struct {
|
|
type limitedBuffer struct {
|