I'm attempting to auto run a program using .shrc that starts a separate detached thread.
If I run the program manually, the thread detaches properly. If I run it from .shrc on startup, it runs but does not detach. Thoughts?
Example:
local thread = require("thread");
local listenerService = thread.create(
function()
--Do Stuff--
end
)
listenerService:detach()