r/ComputerCraft • u/Pirussas • Jun 25 '25
Hidden tab
I'm working on an email service and have set up multishell to manage two separate processes.
- The first shell is designed to run constantly in the background, receiving all incoming emails and saving them into a .txt file.
- The second shell is the primary application. From here, users can send emails and access their inbox."
I want to hide the first shell from the user so they can't close the tab. Is there a way to keep it running without showing the tab?
7
Upvotes
View all comments
Show parent comment
4
u/fatboychummy Jun 25 '25
multishell.launchtakes an "environment" variable as one of its inputs. In your case, you passed an empty table, so it has no environment.What this causes
You lose access to any environment-level variables from within the program, like
shell,multishell,require, andpackage. If you attempt to use any of these, your program will error stating they arenil.