system_callsystem_callSystemCallSystemCall (Operator)

Name

system_callsystem_callSystemCallSystemCall — Ausführen eines Systemaufrufs.

Signatur

system_call( : : Command : )

Herror system_call(const char* Command)

Herror T_system_call(const Htuple Command)

void SystemCall(const HTuple& Command)

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

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

static void HSystem::SystemCall(const wchar_t* Command)   (Nur Windows)

static void HOperatorSet.SystemCall(HTuple command)

static void HSystem.SystemCall(string command)

Beschreibung

system_callsystem_callSystemCallSystemCallSystemCall führt den in CommandCommandCommandCommandcommand übergebenen Systemaufruf aus.

Unter Windows kann durch ein Voranstellen von '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 CommandCommandCommandCommandcommand übergeben wird.

Ausführungsinformationen

Parameter

CommandCommandCommandCommandcommand (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Befehl für das Betriebssystem.

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

Ergebnis

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

Vorgänger

count_secondscount_secondsCountSecondsCountSecondsCountSeconds

Siehe auch

wait_secondswait_secondsWaitSecondsWaitSecondsWaitSeconds, count_secondscount_secondsCountSecondsCountSecondsCountSeconds

Modul

Foundation