shell

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
(removed extra ])
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
Return Value: A text object.
 
Return Value: A text object.
 
|
 
|
Syntax: syscall(STRING)
+
[[Syntax]]: syscall(STRING)
 
   
 
   
 
shell() executes STRING in a command shell and returns any output in a TEXT object.
 
shell() executes STRING in a command shell and returns any output in a TEXT object.
Line 32: Line 32:
 
[[category:Functions]]
 
[[category:Functions]]
 
[[category:Davinci Core]]
 
[[category:Davinci Core]]
 +
[[category:64-bit]]

Latest revision as of 11:34, 28 April 2016



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