debug code in spawn() use lower-level os.read() instead of file.read() because python sucks
Changed paths: