[squeak-dev] OSProcess question

Andreas Raab andreas.raab at gmx.de
Mon Mar 10 18:13:42 UTC 2008


Hi -

We have a situation where some code reliably locks up when used like here:

  p := OSProcess command: 'chmod +x ', path.
  [p isComplete] whileFalse.

This hangs quite reliably in the second line and I'm *assuming* that we 
need to yield/delay execution while waiting. Is this correct? I was 
trying to trace through the code paths which update the runState but it 
wasn't immediately clear where this comes from.

Any help is appreciated.

Cheers,
   - Andreas



More information about the Squeak-dev mailing list