RosettaCodeData/Task/Fork/Slate/fork.slate
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

6 lines
246 B
Text

p@(Process traits) forkAndDo: b
[| ret |
(ret := lobby cloneSystem)
first ifTrue: [p pipes addLast: ret second. ret second]
ifFalse: [[p pipes clear. p pipes addLast: ret second. b applyWith: ret second] ensure: [lobby quit]]
].