lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


In my app I open a few processes using io.popen(), then read their output using posix.fileno() and posix.rpoll() to see if there's data available. When my app shuts down however (using os.exit(0)), even if I close the process file handles, they remain running in the background. How do I prevent this? I do both process:close() and posix.close(fd). (I found without the latter, the former would just hang...)

--
Sent from my Game Boy.