Closed
Description
Godot version
4.0 Alpha 9
System information
Windows 10
Issue description
Using OS.move_to_trash always produces a generic failure (error code 1). This could be due to my windows configuration, or it could also be due to a bug, or it could be because OS.move_to_trash() is very minimally documented.
Steps to reproduce
Run the project and click the button.
func _on_button_pressed():
var result = OS.move_to_trash("res://test.txt")
print(result)
Activity