This seems to -- though I don't pretend to understand how or why!
const path = Path("/path/to/file/toDelete.txt");
const finder = Application("Finder");
finder.delete(path);
This seems to -- though I don't pretend to understand how or why!
const path = Path("/path/to/file/toDelete.txt");
const finder = Application("Finder");
finder.delete(path);