Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help,
read this .
MegaByte
Prole
Posts: 4 Joined: Sat Mar 01, 2025 7:57 pm
Post
by MegaByte » Sun Mar 09, 2025 8:04 pm
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.
Code: Select all
print("\nTESTE\n")
os.execute('copy "' .. file .. '" "' .. newPath .. '" > nul 2>&1')
print("\nOK TESTE\n")
Terminal :
noTerminal.png (786 Bytes) Viewed 537 times
Code: Select all
print("\nTESTE\n")
os.execute('copy "' .. file .. '" "' .. newPath .. '"')
print("\nOK TESTE\n")
Terminal :
no.png (1.08 KiB) Viewed 537 times
ivan
Party member
Posts: 1939 Joined: Fri Mar 07, 2008 1:39 pm
Contact:
Post
by ivan » Sun Mar 09, 2025 8:19 pm
If I remember correctly, this is a platform-specific bug. Have you tried:
MegaByte
Prole
Posts: 4 Joined: Sat Mar 01, 2025 7:57 pm
Post
by MegaByte » Sun Mar 09, 2025 8:49 pm
ivan wrote: ↑ Sun Mar 09, 2025 8:19 pm
If I remember correctly, this is a platform-specific bug. Have you tried:
it worked. Thank you very much
Users browsing this forum: Ahrefs [Bot] , Amazon [Bot] , Bing [Bot] , Google [Bot] and 2 guests