+ "R Alemi" <[EMAIL PROTECTED]>:

| does any one know why, or how can we reference user's home directory
| in arguments to run-program?

Expansion of ~ or $HOME is usually done by the shell.  Since
ext:run-program does not invoke the shell, those are not expanded.

You could try  (namestring (probe-file "home:some-file")).

Things get trickier if the file does not exist and you still want a
name.  This should work:

(ext:enumerate-search-list (pathname "home:asdf") (return pathname))

See the cmucl user manual for the meaning of this.

- Harald

Reply via email to