Anonymous user
Execute a system command: Difference between revisions
→{{header|Common Lisp}}
Drkameleon (talk | contribs) |
|||
Line 453:
<lang lisp>(trivial-shell:shell-command "ls")</lang>
{{libheader|uiop}}
<lang lisp>; uiop is part of the de facto build system, asdf, so should be available to most installations.
; synchronous
(uiop:run-program "ls")
; async
(defparameter *process* (uiop:launch-program "ls"))
(uiop:wait-process *process*)</lang>
=={{header|D}}==
|