Fix #10098. Fix sporadic test_os failures.

Amaury noticed that we're not waiting for the subprocess to be ready --
it should be checking for 1, not 0.
1 file changed