Get system command output: Difference between revisions
Content deleted Content added
Line 199: | Line 199: | ||
:search t :output :stream :wait nil)) |
:search t :output :stream :wait nil)) |
||
(read-line (sb-ext:process-output *my-proc*) nil)</lang> |
(read-line (sb-ext:process-output *my-proc*) nil)</lang> |
||
{{libheader|uiop}} |
|||
A bit more general, using [https://github.com/fare/asdf uiop] and grabbing output as a string: |
|||
<lang lisp>(uiop:run-program '("ls" "-l" "-a") :output :string)</lang> |
|||
=={{header|D}}== |
=={{header|D}}== |