Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Rep:Is there an exec command?

From: eric-geffroy::ifrance::com at: 10-Apr-2002 9:58

-----Message d'origine----- De: "John Pote" <[john--pote--tic--ac--uk]> A: <[rebol-list--rebol--com]> Date: 10/04/02 Objet: [REBOL] Is there an exec command? 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 -- To unsubscribe from this list, please send an email to [rebol-request--rebol--com] with "unsubscribe" in the subject, without the quotes. Hi, You have to use the "call" function like this: call "c:\toto.exe\" 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 bye