Dear CLISP hackers,
I'm trying to debug ASDF on CLISP for Windows, except I don't have
Windows, so it's hard.
There are two issues:
(EXT:SHELL '"echo ok 1 < NUL > C:\\cygwin64\\tmp\\tmpYBTSEBG6.tmp 2> NUL")
ok 1 < NUL > C:\cygwin64\tmp\tmpYBTSEBG6.tmp 2> NUL
instead of redirecting.
I suspect that EXT:SHELL has a :indirect nil and doesn't invoke CMD.EXE,
where I would have expected an :indirect t and invoke it;
or maybe it escapes its arguments too much.
2- POSIX:file-stat doesn't look like it is working on Windows.
"2.49 (2010-07-07) (built on STSst063.jenty.by [184.108.40.206])"
> (ext:probe-pathname "c:/foo/")
> (POSIX:file-stat "c:/foo/" nil)
*** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the
The following restarts are available:
ABORT :R1 Abort main loop
Break 1 > :r1
Am I doing things wrong?
What is the cheapest reliable way to check whether a file and/or
Should I be using probe-pathname for that?
—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
An anarchist is a man who is careful to always use pedestrian crossings,
because he utterly detests talking with policemen. — Georges Brassens