Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Metasyntactical

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by Metasyntactical

  1. 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()

     

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.