Process.write() does not seem to work as expected.

cydonia:
I wonder why it didn't work with p.write("Testing\n") though.

That's a really good question, I would've thought it should work. Very curious.

Maybe because Process.write expects C strings as input.

But that IS a C string you're giving it.