I can't figure out a way to fs.openSync("NUL") (the Win32 equivalent of "/dev/null").
It seems that, since the open logic resolves to absolute path first, rather than just passing what I provide to the underlying call, that any special files like this will fail under Windows.
I can't figure out a way to
fs.openSync("NUL")(the Win32 equivalent of "/dev/null").It seems that, since the open logic resolves to absolute path first, rather than just passing what I provide to the underlying call, that any special files like this will fail under Windows.