2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-21 04:53:24 +00:00

chore: fix comments

This commit is contained in:
TorchedSammy 2022-05-21 19:58:41 -04:00
parent 3bcff3e350
commit f43ff7d03c
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

4
job.go
View File

@ -45,12 +45,12 @@ func (j *job) start() error {
}
// bgProcAttr is defined in execfile_<os>.go, it holds a procattr struct
// in a simple explanation, it makes signals from hilbish (sigint)
// not go to it
// not go to it (child process)
j.handle.SysProcAttr = bgProcAttr
// reset output buffers
j.stdout.Reset()
j.stderr.Reset()
// make cmd write to both standard output and output buffers for lua ccess
// make cmd write to both standard output and output buffers for lua access
j.handle.Stdout = io.MultiWriter(j.cmdout, j.stdout)
j.handle.Stderr = io.MultiWriter(j.cmderr, j.stderr)