lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Playing around with help on a DOS window:
jobd_no_sandbox.lua:76:	os.execute("rm -fr "..job_file.." > /dev/null 2>&1")
replace rm -r with rmdir /S /Q
you won't need the > /dev/null 2 >&1
splayd.lua:958:root_dir = io.popen("pwd"):read()
replace pwd with cd

(cd with no arguments does a pwd)

Not sure about your other questions. Perhaps someone else has ideas?

Separator - Windows is happy to use / rather than \ for path separators, just don't mix the two in the same path (things tend to go wrong if you do). I've definitely seen / work for windows paths (recent versions of Visual Studio specify the paths that way).

Stephen