Subject: [clisp-list] run-shell-command question

From: [email-masked]
Date: Fri Feb 6 12:20:04 2004

this returns the hostname:

(print (read-line (run-shell-command (concatenate 'string "uname -n") :OUTPUT :STREAM)))

this returns the exit value of the shell command:

(print (run-shell-command (concatenate 'string "uname -n")))

how can i capture both values?