Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- startup.lua
- -- 実装未完了。この実装だと,同期的に実行するので,時間かかるプログラムが・・・
- if not fs.exists("working") then
- return
- end
- local files = fs.list("working")
- for _, file in ipairs(files) do
- local fh = fs.open(fs.combine("working", file), "r")
- local temp = fh.readLine()
- fh.close()
- shell.run(temp)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement