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

FS api not working?

Started by EveryOS, 23 March 2016 - 03:48 PM
EveryOS #1
Posted 23 March 2016 - 04:48 PM
So me Sewbacca are working on an OS. Sewbacca had repaired some flickering in my OS by changing the way it runs files to coroutines rather than shell.run. However, now, one of the programs works by itself, but not in the OS, where it get's run as a coroutine. While I'm not very good at using pcalls to debug it, it seems that it just closes the file whenever it gets to ANY fs api. Is this common? How should I avoid it?

Edit: Never mind Some of Sewbacka's code had been interferring with mine, fixed it.
Edited on 23 March 2016 - 06:02 PM
Lyqyd #2
Posted 23 March 2016 - 06:43 PM
Please post the code.
EveryOS #3
Posted 23 March 2016 - 06:44 PM
Please post the code.
The code:


pastebin run 1De5Jatk
Lyqyd #4
Posted 23 March 2016 - 06:50 PM
That's an installer, not the code. Please post or provide direct links to all the code involved, including the program that you're having issues with.
EveryOS #5
Posted 23 March 2016 - 06:57 PM
That's an installer, not the code. Please post or provide direct links to all the code involved, including the program that you're having issues with.
You must first run the installer, because all the codes located inside the inside the installer, not separate pastebins. That's how it is.

After you run the installer, you should notice that NyanOS/menustuff/devtools works perfectly by itself, but in the OS, where it's refered to as nash, it just auto-closes.