diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-06-04 00:26:16 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-06-04 00:26:16 +0700 |
| commit | 427251e6f320849022e55510051797a10d4e9d83 (patch) | |
| tree | 1d336732c82da228a4e25e7e64c1623d9885e09f /lib/bytes/bytes.go | |
| parent | a7e3a3852678175bf29e50c4c5a53a3ed2ab7921 (diff) | |
| download | pakakeh.go-427251e6f320849022e55510051797a10d4e9d83.tar.xz | |
os/exec: new package to simplify the standard "os/exec"
New extension to standard package is function ParseCommandArgs() that
receive input as string and return itas command and list of arguments.
Unlike strings.Fields() which only separated the field by space,
ParseCommandArgs can detect possible single, double, or back quotes.
Another extension is Run() function that accept the string command
to be executed and their standard output and error.
Diffstat (limited to 'lib/bytes/bytes.go')
0 files changed, 0 insertions, 0 deletions
