Skip to content

Commit

Permalink
🐛 add stdin para utilização com docker
Browse files Browse the repository at this point in the history
  • Loading branch information
neninja committed May 3, 2022
1 parent 35d350d commit 19ba37c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ func main() {
buf := bufio.NewReader(os.Stdin)
for {
cmd := exec.Command(command, args...)
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr

Expand Down

0 comments on commit 19ba37c

Please sign in to comment.