Can't detach thread from autorun in Programming Posted March 3, 2019 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()
Can't detach thread from autorun
in Programming
Posted
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: