Wishlist for Windows Unix compatibility features
Windows already has related features like
CreateProcess, but for servers and workers fork is required for source code compatibility of existing scripts,
which are written for Unix.
- To check socket's availability by
Windows doesn't support true Signal.
Get IANA timezone name of current timezone from OS.
Remove a file which is opened by another process¶
If the process opens the file with
FILE_SHARE_DELETE flag, another process can remove the file.
But in that case processes can't remove its parent folder.
Windows has mklink and SeCreateSymbolicLinkPrivilege, but it has some limitations.
Generic handling of file, pipe, socket by fd¶
fd passing to child process other than 0,1,2¶
Get access mode from fd/HANDLE¶
System side append mode¶
a high performance selector API¶
CloseHandle should work with socket.
ANSI color code¶
We can emuate UNIXSocket with named pipe?
Updated by emk (Masatoshi Kimura) about 2 years ago
Remove a file which is opened by another process
Fall Creators Update added FILE_DISPOSITION_POSIX_SEMANTICS.
April 2018 Update added AF_UNIX sockets.
Just FYI, I did not test them.