Search found 4 matches

by MegaByte
Sun Mar 09, 2025 8:49 pm
Forum: Support and Development
Topic: when os.execute() is used the terminal breaks.
Replies: 2
Views: 914

Re: when os.execute() is used the terminal breaks.

ivan wrote: Sun Mar 09, 2025 8:19 pm If I remember correctly, this is a platform-specific bug. Have you tried:

Code: Select all

io.popen(command_to_execute)
it worked. Thank you very much
by MegaByte
Sun Mar 09, 2025 8:04 pm
Forum: Support and Development
Topic: when os.execute() is used the terminal breaks.
Replies: 2
Views: 914

when os.execute() is used the terminal breaks.

I am using os.execute to copy some files from one folder to another but when I do this the terminal stops working properly. It stops showing certain characters. This happens with any command. print("\nTESTE\n") os.execute('copy "' .. file .. '" "' .. newPath .. '" > nul...
by MegaByte
Thu Mar 06, 2025 4:00 pm
Forum: Support and Development
Topic: How does love.filesystem.read work?
Replies: 2
Views: 692

Re: How does love.filesystem.read work?

ivan wrote: Thu Mar 06, 2025 5:28 am love.filesystem.read() works using relative paths inside the source or appdata directory.
Where is the file located in your case?
Thank you very much for your help but I just realized what I did wrong and now I have fixed the problem.
by MegaByte
Wed Mar 05, 2025 10:58 pm
Forum: Support and Development
Topic: How does love.filesystem.read work?
Replies: 2
Views: 692

How does love.filesystem.read work?

I'm trying to create a script that writes the IP, login, and password of a server to a file. Then, the script runs 'com.exe' and reads the data from 'output.d'. However, the script is returning text that doesn't appear in 'output.d', and I can't figure out why this is happening. I reviewed the docum...