mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-16 18:52:27 +08:00
doc: add docment and playground demo for v2.1.19
This commit is contained in:
@@ -246,7 +246,10 @@ func main() {
|
||||
<b>Signature:</b>
|
||||
|
||||
```go
|
||||
func ExecCommand(command string) (stdout, stderr string, err error)
|
||||
type (
|
||||
Option func(*exec.Cmd)
|
||||
)
|
||||
func ExecCommand(command string, opts ...Option) (stdout, stderr string, err error)
|
||||
```
|
||||
|
||||
<b>Example:</b>
|
||||
|
||||
Reference in New Issue
Block a user