KlassenKlassenKlassenKlassen | | | | Operatoren

system_callsystem_callSystemCallsystem_callSystemCallSystemCall (Operator)

Name

system_callsystem_callSystemCallsystem_callSystemCallSystemCall — Ausführen eines Systemaufrufs.

Signatur

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)

Beschreibung

system_callsystem_callSystemCallsystem_callSystemCallSystemCall führt den in CommandCommandCommandCommandCommandcommand übergebenen Systemaufruf aus.

Unter Windows kann durch ein Voranstellen von 'start /b'"start /b""start /b""start /b""start /b""start /b" erreicht werden, dass nicht auf die gestartete Applikation gewartet wird. Unter unixartigen Systemen kann eine interaktive Shell ('csh -i') gestartet werden, indem ein leerer String in CommandCommandCommandCommandCommandcommand übergeben wird.

Parallelisierung

Parameter

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

Befehl für das Betriebssystem.

Defaultwert: 'ls' "ls" "ls" "ls" "ls" "ls"

Ergebnis

Unter Windows liefert system_callsystem_callSystemCallsystem_callSystemCallSystemCall immer den Wert 2 (H_MSG_TRUE), außer es gab ein Problem beim Erzeugen des neuen Prozesses. Unter anderen Betriebssystemen liefert system_callsystem_callSystemCallsystem_callSystemCallSystemCall immer den Wert 2 (H_MSG_TRUE) zurück.

Vorgänger

count_secondscount_secondsCountSecondscount_secondsCountSecondsCountSeconds

Siehe auch

wait_secondswait_secondsWaitSecondswait_secondsWaitSecondsWaitSeconds, count_secondscount_secondsCountSecondscount_secondsCountSecondsCountSeconds

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren