Jump to content

Execute a system command: Difference between revisions

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}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.