Descriptionos/exec: don't crash when out of fds
Command.Start could crash before if no fds were available
because a nil *os.File of /dev/null was added to the cleanup
list, which crashed before returning the proper error.
Patch Set 1 #Patch Set 2 : diff -r 8df0b8f89db3 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 8df0b8f89db3 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 8df0b8f89db3 https://go.googlecode.com/hg/ #MessagesTotal messages: 3
|