ClassesClassesClassesClasses | | | | Operators

system_callsystem_callSystemCallsystem_callSystemCallSystemCall (Operator)

Name

system_callsystem_callSystemCallsystem_callSystemCallSystemCall — Execute a system command.

Signature

system_call( : : Command : )

Herror system_call(const char* Command)

Herror T_system_call(const Htuple Command)

Herror system_call(const HTuple& Command)

void SystemCall(const HTuple& Command)

static void HSystem::SystemCall(const HString& Command)

static void HSystem::SystemCall(const char* Command)

void HOperatorSetX.SystemCall([in] VARIANT Command)

void HSystemX.SystemCall([in] BSTR Command)

static void HOperatorSet.SystemCall(HTuple command)

static void HSystem.SystemCall(string command)

Description

The operator system_callsystem_callSystemCallsystem_callSystemCallSystemCall executes the system command given in CommandCommandCommandCommandCommandcommand.

On Windows operating systems, the system command can be prefixed by 'start /b'"start /b""start /b""start /b""start /b""start /b" to avoid waiting for the started application. On Unix-like operating systems, an interactive shell ('csh -i') will be started, if CommandCommandCommandCommandCommandcommand contains an empty string.

Parallelization

Parameters

CommandCommandCommandCommandCommandcommand (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Command to be called by the system.

Default value: 'ls' "ls" "ls" "ls" "ls" "ls"

Result

On Windows operating systems,the operator system_callsystem_callSystemCallsystem_callSystemCallSystemCall will always return the value 2 (H_MSG_TRUE) unless there was a problem creating a new process. On other operating systems, system_callsystem_callSystemCallsystem_callSystemCallSystemCall will always return the value 2 (H_MSG_TRUE).

Possible Predecessors

count_secondscount_secondsCountSecondscount_secondsCountSecondsCountSeconds

See also

wait_secondswait_secondsWaitSecondswait_secondsWaitSecondsWaitSeconds, count_secondscount_secondsCountSecondscount_secondsCountSecondsCountSeconds

Module

Foundation


ClassesClassesClassesClasses | | | | Operators