anotherInstanceStarted not working on Linux

I implemented this with namedpipes.

But I needed to fix Linux NamedPipe implementation first.