Closed XeroOl closed 1 year ago
The examples assume an implied uv.run call at the end of the code (In Luvit, this call is done for you). Though when using Luv directly, you should add this call explicitly
thank you for the quick reply! adding uv.run()
to the end of the file makes the problem go away.
Hello, I'm trying to work with processes in lua.
When I run the following code, (taken verbatim from https://github.com/luvit/luv/blob/master/docs.md), I get a segfault.
The output from my shell is:
I expected to the output of various print statements, with no segfault.
I'm using Lua 5.4.6 on Arch Linux. Let me know if I've done anything wrong or if any more details are needed.