Jump to content

Execute a system command: Difference between revisions

m
m (→‎{{header|NetRexx}}: change command to ls)
Line 717:
method runSample(arg) private static
parse arg command
if command = '' then command = 'ls -oa' -- for Windows change to: dir'cmd /sC dir'
do
say 'Executing command:' command
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.