replaced customFds with stdio (same) in spawn