syscall

From DavinciWiki
Jump to: navigation, search


64-bit SafeYes

Description

Send a command to the system. Identical to shell.

Arguments and Return Values

Arguments: A string containing the command

Return Value: A text object.

Usage

Syntax: syscall(STRING)

syscall() executes STRING in a command shell and returns any output in a TEXT object.

Examples

dv> command = syscall("ls")
Text Buffer with 64 lines of text
    1: I04557002d.cub
    2: bil.jpg
    3: bip.jpg
    4: blendpic1.png
    5: blendpic2.png
    6: blendpic3.png
    7: bob
    8: bsq.jpg
    9: bxfltpic1.png
    10: bxfltpic2.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 07-06-2009

Personal tools