diff options
| author | Jeff Carr <[email protected]> | 2019-06-15 16:37:05 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-15 16:37:05 -0700 |
| commit | 2806f41841a3e8599ac44570180e76a3b96b6f05 (patch) | |
| tree | db8f8e42f1f303bf1b57f7bc9931f302601de438 | |
| parent | a3042062d872b4e30f9f396339d5cb8e4ddb9b8c (diff) | |
a new struct to track file handles for processes
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | structs.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -12,8 +12,11 @@ var readBufferSize int type File struct { Name string BufferSize int - FbytesBuffer bytes.Buffer + Buffer *bytes.Buffer Fbytes []byte + TotalCount int + Empty bool + Dead bool Fio io.ReadCloser // := process.StdoutPipe() Fbufio *bufio.Reader // := bufio.NewReader(pOUT) |
