Execute a system command: Difference between revisions

Content added Content deleted
(Fixed up system fn to clean up exec handle)
Line 280: Line 280:
⍝⍝
⍝⍝
handle ← ⎕fio['fork_daemon'] s
handle ← ⎕fio['fork_daemon'] s
⎕fio['close'] handle
⎕fio['fclose'] handle
⍎'erase handle'
h ← ⎕fio['fork_daemon'] '/bin/ls /var'
h ← ⎕fio['fork_daemon'] '/bin/ls /var'