shell

From DavinciWiki
Jump to: navigation, search


64-bit SafeYes

Description

Send a command to the system. Identical to syscall.

Arguments and Return Values

Arguments: A string containing the command

Return Value: A text object.

Usage

Syntax: syscall(STRING)

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

Examples

dv> command = shell("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: 04-28-2016

Personal tools