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

[Help] Closing windows to prevent stacking

Started by AnDwHaT5, 24 February 2013 - 12:35 PM
AnDwHaT5 #1
Posted 24 February 2013 - 01:35 PM
Ok, so im about to release my FireballOS but i came into a problem… The file browser wont work right because it is stacking windows and wont open the desktop. In any case the question is. "is there a code that can shut a program down and start a different one after?"
Lyqyd #2
Posted 24 February 2013 - 04:27 PM
You start the program from your OS, right? So when it quits, execution naturally returns to your OS. Do whatever you need to do to fix it then.
AnDwHaT5 #3
Posted 25 February 2013 - 02:28 AM
But thats the problem, it dosnt quit. If it quit that wouldn't be a problem. When i launch a program from that program its a file browser) it stays open in the background. And all the programs all together just stack until there is a error.
Lyqyd #4
Posted 26 February 2013 - 05:23 AM
Just re-code the other program to exit correctly, then.