[Newbies] Re: PipableOSProcess#notifyError

Sean P. DeNigris sean at clipperadams.com
Sat Jan 1 15:46:38 UTC 2011

Aidan Gauland-2 wrote:
> Why does the following statement not appear to do anything?  (I
> expected an error window to pop up.)
> (PipeableOSProcess command: 'false') notifyError.

#command: may return before the process is complete, so you have a race
condition with #notifyError.  Try:
p := PipeableOSProcess command: 'false'.
(Delay forMilliseconds: 1000) wait.
p notifyError.

View this message in context: http://forum.world.st/PipableOSProcess-notifyError-tp3170006p3170181.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.

More information about the Beginners mailing list