As per the lua manual:linux-man wrote: That's a reall issue: it seems that the Mac build don't include io.popen. Why? I'll try to find other way. Can you use os.execute?
This function is system dependent and is not available on all platforms.
As per the lua manual:linux-man wrote: That's a reall issue: it seems that the Mac build don't include io.popen. Why? I'll try to find other way. Can you use os.execute?
This function is system dependent and is not available on all platforms.
Thanks for the info. Damn manuals!bartbes wrote:This function is system dependent and is not available on all platforms.
Can you (or other Mac user) try this love? I'm using an alternative output, this time with os.execute and os.tmpfile. Hope it works.coffee wrote:In OSXCode: Select all
[0x0-0x82082].org.love2d.love[1571] Error: [string "lovefs.lua"]:107: 'popen' not supported [0x0-0x82082].org.love2d.love[1571] stack traceback: [0x0-0x82082].org.love2d.love[1571] [C]: in function 'popen' [0x0-0x82082].org.love2d.love[1571] [string "lovefs.lua"]:107: in function 'cd' [0x0-0x82082].org.love2d.love[1571] [string "lovefs.lua"]:125: in function 'lovefs' [0x0-0x82082].org.love2d.love[1571] [string "main.lua"]:22: in function 'load' [0x0-0x82082].org.love2d.love[1571] [string "boot.lua"]:1: in function <[string "boot.lua"]:1> [0x0-0x82082].org.love2d.love[1571] [C]: in function 'xpcall'
That's good.coffee wrote:Nice. It works for me. Don't know if intended but shows root at start.
But can you select files (it shows a "selected file" text bellow Current Directory) or enter directories with foreign characters?coffee wrote:Only found a problem so far. It don't show foreign/non-english characters. show a "box" instead.
Yes but with LoveFS in the OSX root are also showed things usually hidden in Finder listings. It shows cores/bin/dev/etc... folders and list files like mach_kernel and other stuff. Those things only show usually with terminal or in X11 dialog interfaces.linux-man wrote:Hidden files and folders aren't shown.
So it works. I don't have boxes, but I'm only using PT characters. What's your distro?Nixola wrote:On Linux, I can select the file "name↑.try" and access the folder "↑", but a box is shown (as every uncommon character on Windows)
I'm happy that the functionality is there. We can try to correct the cosmetic later.coffee wrote:Yes but with LoveFS in the OSX root are also showed things usually hidden in Finder listings. It shows cores/bin/dev/etc... folders and list files like mach_kernel and other stuff. Those things only show usually with terminal or in X11 dialog interfaces.
Yes, it browses well foreign folders.
Users browsing this forum: No registered users and 66 guests