]> Cypherpunks repositories - gostls13.git/commit
windows: syscall: Make ForkExec acquire the ForkLock
authorHector Chu <hectorchu@gmail.com>
Thu, 3 Feb 2011 01:50:41 +0000 (12:50 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 3 Feb 2011 01:50:41 +0000 (12:50 +1100)
commitfb9fc886ff937a0868e77b3c7942ccd56eea5d4a
tree571192ecbfab315447d767ef95ae56791ed7c970
parent68b40fbbb8ceff55efdf6dfb1f25c48c2f2df6d4
windows: syscall: Make ForkExec acquire the ForkLock
so that spawned processes avoid inheriting pipes.

Implement CloseOnExec.
Make file and pipe handles inheritable.

R=rsc, brainman, vincent.vanackere
CC=golang-dev
https://golang.org/cl/4126047
src/pkg/syscall/exec_windows.go
src/pkg/syscall/syscall_windows.go
src/pkg/syscall/zsyscall_windows_386.go
src/pkg/syscall/ztypes_windows_386.go