ComputerCraft "No such program" after 'shell.run'

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Benie76

New Member
Jul 29, 2019
141
0
0
I'm using the modified Reactor code I got from Direwolf20's Let's Play thread on the Minecraft Forums. The code, named "Reactor" works fine with my Reactor/Turbine from Big Reactors, so does dire's "button" code.

The problem is I want this thing to autoexecute on map load. I checked Google and someone said to use 'shell.run Program Name'. So I tried 'shell.run Reactor' and I get "No such program", yet I can do "edit Reactor" and get the code.
Also "run Reactor" gives the same message. But just saying "Reactor" makes the program work, but it won't autoexecute.
What seems to be the problem here? Do I have to figure out how to rename the "Reactor" program to "startup" to get it to autoexecute? I also hear the 'shell.run' thing only works on the "startup file".. where in the heck is this file? I'm a n00b at lua.

I'm using an Advanced Computer, by the way.
 
Last edited:

ratchet freak

Well-Known Member
Nov 11, 2012
1,198
243
79
create a new file called startup

in there you put the following code:

Code:
shell.run("Reactor")

save and exit and now it will auto start next time the server reloads so you can now reboot the computer or just run reactor directly