Sort of working C# executor.

Goddamned lies in documentation. Only DuplicateHandle correctly controlls the permission.