f3f194293a
The old method always returned _RUNNING on some machines. This new method seems to produce the expected behaviour. Note: -32 is probably -EPIPE, but the appropriate constant was not available at this time.