Changeset 136 for trunk/orca/boot.r

Show
Ignore:
Timestamp:
05/04/06 15:39:15 (3 years ago)
Author:
krobillard
Message:

Orca - Added os_call config option.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/boot.r

    r97 r136  
    406406    getenv: native [name [string!]] 
    407407 
    408     call: native [ 
    409         command [string! block!] 
    410         ;/input 
    411         ;in [string! file! none!]    ; [any-string! port! file! url! none!] 
    412         /output 
    413         out [string! file! none!]    ; [string! port! file! url! none!] 
    414         /wait 
    415         ;/console 
    416         ;/shell 
    417         ;/info 
    418     ] 
    419  
    420408    change-dir: native [value] 
    421409    what-dir: native [] 
     
    719707if find config 'rebol [append boot load %rebol_compat.r] 
    720708 
     709if find config 'os_call [ 
     710    append natives [ 
     711        call: native [ 
     712            command [string! block!] 
     713            ;/input 
     714            ;in [string! file! none!]    ; [any-string! port! file! url! none!] 
     715            /output 
     716            out [string! file! none!]    ; [string! port! file! url! none!] 
     717            /wait 
     718            ;/console 
     719            ;/shell 
     720            ;/info 
     721        ] 
     722    ] 
     723] 
     724 
    721725;eof