This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Noobular's profile picture

Closing a Shell with another shell?

Started by Noobular, 29 March 2015 - 04:52 PM
Noobular #1
Posted 29 March 2015 - 06:52 PM
Well i have a bg shell that needs to have the ability to close another shell running but i'm unsure of how or if its even possible to close another shell within one.

any help?
Lupus590 #2
Posted 29 March 2015 - 07:00 PM
multishell doesn't support this (from what I have read on the wiki) Edit: also checked the source code for multishell, not supported

use another coroutine manager (search the forums), you will need one which allows programs to send events to each other (send a terminate event) or one which allows programs to close each other (likely does the same thing)
Edited on 29 March 2015 - 05:50 PM