Is there an exec command?
[1/3] from: john:pote:tic:ac at: 10-Apr-2002 9:37
Hello,
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?
John
[2/3] from: petr::krenzelok::trz::cz at: 10-Apr-2002 11:43
John Pote wrote:
>Hello,
>
>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?
>
Sadly, there is not one, at least in free version. You can buy /Pro
version and you will get /Shell /Library components unlocked, along with
/Sound and /Encryption components too ....
-pekr-
[3/3] from: anton:lexicon at: 10-Apr-2002 20:49
Hi John,
Well, first of all you need to have at least
Rebol/View/Pro ie. You have downloaded Rebol/View/Pro
and purchased a license key for it (US$49), which unlocks the
Pro features (shell access, external libraries, some sound etc.)
The command that you would use is CALL, eg:
call ""
Which on Windows opens a console window very briefly
(and doesn't do anything else.)
Here on Windows 2000, this opens a shell window:
call "cmd.exe"
To see more options, type:
help call
Rebol/Core doesn't have call.
Regards,
Anton.