Skip to content

Commit 07d0624

Browse files
committed
Fix example
1 parent 772854b commit 07d0624

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/examples/basic/cmdexec/stdinouterr.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ func Stdinouterr() error {
4545
return err
4646
}
4747

48-
output.Stdoutf("[Output]", "\n%s\n%s", fd1, fd2)
48+
output.Stdoutf("[Stdout]", "\n%s\n", fd1)
49+
output.Stdoutf("[Stderr]", "\n%s\n", fd2)
4950

5051
return nil
5152
}

0 commit comments

Comments
 (0)