package
0.0.0-20220707153944-0b00d39eb507
Repository: https://github.com/manerajona/web-dev-go.git
Documentation: pkg.go.dev
# README
Code samples from Go Cookbook.
Chapter: advanced command execution with os/exec .
Legend:
- 01-simple-exec.go : execute the command
- 02-capture-stdout-stderr.go : execute and capture stdout and stderr
- 03-live-progress-and-capture-v1.go : execute, capture output, show output during execution, version 1
- 03-live-progress-and-capture-v2.go : execute, capture output, show output during execution, version 2
- 03-live-progress-and-capture-v3.go : execute, capture output, show output during execution, version 3
- 04-check-exe-exists.go : verify executable exists before trying to run it
- 05-change-environment.go : change environment variables of the process
- 06-feed-stdin.go :