Re: SBCL's (run-program ... :output out) is not working on Windows
- From: Raymond Wiker <raw@xxxxxxxxxxxx>
- Date: Sat, 30 Aug 2008 10:01:04 +0200
Kneo Fang <Kneo.Fang@xxxxxxxxx> writes:
Hi everyone,
I'm using SBCL on Windows. The following code returns "hi" on Linux,
but an empty string on Windows:
(with-output-to-string (out)
(run-program "echo" '("hi") :input t :output out :search t))
What should I do to make it work on Windows?
Just guessing here, but I think that "echo" is a shell
built-in (if you can all "cmd" a shell...)
(run-program "cmd" '("/c" "echo" "hi") ...) might work.
.
- Prev by Date: Re: How much tuning does regular lisp compilers do?
- Next by Date: Re: What do you LISPers think of Haskell?
- Previous by thread: Re: [xah] Fundamental Problems of Lisp
- Next by thread: Re: SBCL's (run-program ... :output out) is not working on Windows
- Index(es):
Relevant Pages
|