aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/osutil/osutil_appengine.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/osutil: remove appengine tagDmitry Vyukov2020-07-061-31/+0
| | | | | Appengine doesn't provide appengine tag anymore. Resort to use of syscall package for ExitStatus instead.
* pkg/osutil: don't use os.ProcessState.ExitCode on appengineDmitry Vyukov2020-07-061-0/+7
| | | | It's not present in Go 1.11.
* pkg/osutil: kill subprocesses more reliablyDmitry Vyukov2019-03-181-0/+3
| | | | | | | | | | In some cases we start scp, which starts ssh, then kill scp but the ssh subprocess is not killed. As the result cmd.Wait hangs waiting for EOF on the stdout/stderr, which are still kept alive by ssh subprocess. But ssh just hangs forever. Create a process group for each command and kill whole process group. Hopefully this will help.
* pkg/kernel: sandbox make invocationDmitry Vyukov2017-11-171-0/+8
|
* pkg/osutil: don't leace runaway processesDmitry Vyukov2017-11-161-0/+13
When manager is stopped there are sometimes runaway qemu processes still running. Set PDEATHSIG for all subprocesses. We never need child processes outliving parents.