HALCON Reference Manual 10.0.2
Table of Contents / System / Operating System ClassesClassesClasses | | | Operators

system_callsystem_callsystem_callSystemCallSystemCall (Operator)

Name

system_callsystem_callsystem_callSystemCallSystemCall — Executes 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 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_callsystem_callSystemCallSystemCall executes the system command specified by the string pointed to by CommandCommandCommandCommandcommand (C-procedure “system”). If the string is empty, an interactive shell will be started ('csh -i').

Parallelization

Parameters

CommandCommandCommandCommandcommand (input_control)  string HTupleHTupleVARIANTHtuple (string) (string) (char*) (BSTR) (char*)

Command to be called by the system.

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

Result

If the entered operator can be executed by the system, the operator system_callsystem_callsystem_callSystemCallSystemCall returns the value 2 (H_MSG_TRUE). Otherwise an exception will be raised.

Possible Predecessors

count_secondscount_secondscount_secondsCountSecondsCountSeconds

See also

wait_secondswait_secondswait_secondsWaitSecondsWaitSeconds, count_secondscount_secondscount_secondsCountSecondsCountSeconds

Module

Foundation


Table of Contents / System / Operating System ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH