[slime-devel] ECL's (ext:system) not working

Peter Münster pmlists at free.fr
Sat Feb 16 23:30:24 UTC 2013


Hi,

What could I do please to make (ext:system) work with slime?

No problem with CLISP's (ext:shell). No problem with ECL's (ext:system)
outside of slime. But when evaluating `(ext:system "ls")' in slime, I
get this error:

--8<---------------cut here---------------start------------->8---
:INPUT argument to RUN-PROGRAM does not have a file handle:
#<a SWANK-BACKEND::SLIME-INPUT-STREAM>
   [Condition of type SIMPLE-ERROR]

Restarts:
 0: [RETRY] Retry SLIME interactive evaluation request.
 1: [*PROCESS-INPUT] Continue reading input.
 2: [ABORT] Return to SLIME's top level.
 3: [CLOSE-CONNECTION] Close SLIME connection.
 4: [RESTART-TOPLEVEL] Go back to Top-Level REPL.

Backtrace:
  0: DEBUG-IN-EMACS
  1: INVOKE-SLIME-DEBUGGER
  2: G954
  3: CALL-WITH-DEBUGGER-HOOK
  4: SWANK-DEBUGGER-HOOK
  5: #<bytecompiled-function BYTECODES>
  6: EVAL-REGION
  7: G830
  8: CALL-WITH-RETRY-RESTART
  9: G829
 10: CALL-WITH-BUFFER-SYNTAX
 11: INTERACTIVE-EVAL-REGION
 12: #<bytecompiled-function BYTECODES>
 13: EVAL-FOR-EMACS
 14: PROCESS-REQUESTS
 15: G348
 16: HANDLE-REQUESTS
 17: G621
 18: CALL-WITH-BINDINGS
 19: REPL-INPUT-STREAM-READ
 20: G613
 21: G227
 22: CALL-WITH-LOCK-HELD
 23: G226
 24: SIMPLE-REPL
 25: G570
 26: G561
 27: CALL-WITH-USER-BREAK-HANDLER
 28: G558
 29: CALL-WITH-DEBUGGER-HOOK
 30: G602
 31: CALL-WITH-BINDINGS
 32: SIMPLE-SERVE-REQUESTS
 33: SERVE-REQUESTS
 34: ACCEPT-CONNECTIONS
 35: SERVE
 36: SERVE-LOOP
 37: SETUP-SERVER
 38: START-SERVER
 39: #<bytecompiled-function BYTECODES>
 40: #<bytecompiled-function BYTECODES>
 41: NIL
--8<---------------cut here---------------end--------------->8---

Using latest cvs slime and latest git ecl.

TIA for any help,
-- 
           Peter





More information about the slime-devel mailing list