[REBOL] Rep:Is there an exec command?
From: eric-geffroy::ifrance::com at: 10-Apr-2002 9:58
De: "John Pote" <[john--pote--tic--ac--uk]>
Objet: [REBOL] Is there an exec command?
I am new to Rebol and interested in its scripting capabilities. I would
like to run other external os commands (ie .exe type commands) but
cannot find a Rebol word to do this. Is there one?
To unsubscribe from this list, please send an email to
[rebol-request--rebol--com] with "unsubscribe" in the
subject, without the quotes.
You have to use the "call" function like this:
It 's execut in a another thread. If you want to wait the end of the
external command use call/wait
You can use:
call/console "ls -l" to look at the result
call/output "ls -l" buffer to have the result in the buffer
call/input to give some args to the external os commands