]> Cypherpunks repositories - gostls13.git/commit
os/exec: tell lsof not to block
authorKeith Randall <khr@golang.org>
Thu, 6 Nov 2014 04:25:20 +0000 (20:25 -0800)
committerKeith Randall <khr@golang.org>
Thu, 6 Nov 2014 04:25:20 +0000 (20:25 -0800)
commit23ecad07cd8cf07a21af07a1e96803f32536ab05
tree08ccceb24c17b12abc22a75b993d328cf178caba
parent908dcab6f854503a4616b6a20aa1e9eba9ecea66
os/exec: tell lsof not to block

For some reason lsof is now hanging on my workstation
without the -b (avoid blocking in the kernel) option.
Adding -b makes the test pass and shouldn't hurt.

I don't know how recent the -b option is.  If the builders
are ok with it, it's probably ok.

LGTM=rsc
R=golang-codereviews, bradfitz, rsc
CC=golang-codereviews
https://golang.org/cl/166220043
src/os/exec/exec_test.go