Lifted from UFFI:

(let ((output (make-array '(0) :element-type 'character :adjustable t :fill-pointer 0)))
   (with-output-to-string (stream output)
     (sb-impl::process-exit-code (sb-ext:run-program "/bin/sh" (list "-c" "pwd") :output stream))
     (print output)))

On 02/17/2014 10:12 AM, José Luis Torre wrote:
¿How can i do

(system "pwd")

in SBCL?

--
José Luis Torre
 


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk


_______________________________________________
Sbcl-help mailing list
Sbcl-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-help