luadocs/content/lua.scripts.api.manual/dtutils.system/external_command.md
Bill Ferguson b69d752221 [lua scripts] created manual from script comments
[lua scripts api] created manual from embedded library documentation

[lua api] created stub to contain lua api manual
2020-12-12 15:14:19 -05:00

647 B

title id weight draft author
external_command external_command 20 false people

NAME

external_command

SYNOPSIS

pass a command to the operating system for execution and return the result

USAGE

local dsys = require "lib/dtutils.system"
local result = dsys.external_command(command)

command - string - a string containing the command and arguments to be passed to the operating system for execution.

DESCRIPTION

external_command passes a command to the operating system for execution and returns the results.

RETURN VALUE

result - number = the return value signalling success or failure.