RosettaCodeData/Task/Execute-a-system-command/Lasso/execute-a-system-command.lasso

9 lines
130 B
Plaintext

local(
path = file_forceroot,
ls = sys_process('/bin/ls', (:'-l', #path)),
lswait = #ls -> wait
)
'<pre>'
#ls -> read
'</pre>'