mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-28 05:40:26 +00:00
bdb7b93f25
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. |
||
---|---|---|
.. | ||
fileutil_test.go | ||
fileutil.go | ||
osutil_akaros.go | ||
osutil_appengine.go | ||
osutil_bsd.go | ||
osutil_darwin.go | ||
osutil_fuchsia.go | ||
osutil_linux.go | ||
osutil_test.go | ||
osutil_unix.go | ||
osutil_windows.go | ||
osutil.go |