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

[W.I.P] Background Programs

Started by ComputerCraftFan11, 30 May 2012 - 02:43 AM
ComputerCraftFan11 #1
Posted 30 May 2012 - 04:43 AM
This program lets you run other programs in the background, its not done yet. (I was gonna use parallels but it didn't work.)

Currently, all it does is run every file in .taskprograms so if you want it to run in the background, you will have to modify the code of your program a bit.

If you run it, the first thing you will notice is it will say "Background programs: ".
To add another program, type /mult.

While editing your program, you can use our basic functions:
inputReader()
Adds the "> " that the shell uses.
isTasked("startup")
Returns true if your program is running in the background, otherwise false

http://pastebin.com/sf7RfEw3
Mendax #2
Posted 30 May 2012 - 09:53 AM
Wow, cool. Might use something like this in ShadOS :)/>/>
LeCanardNoir #3
Posted 13 March 2013 - 02:36 AM
ok but where you find the info of this thing about the .taskprograms folder.

very cool stuff, don't try yet, but look cool.
Lyqyd #4
Posted 13 March 2013 - 03:56 AM
And ancient. This obviously went nowhere. There are better solutions available on the forums. Locked.