Comment
Comment by arctek
fsync doesn't work here right because unix pipes are in memory?
I've had luck elsewhere with nodejs and WriteableStreams that refuse to flush their buffers before a process.exit() using fsync on the underlying file descriptors.