system_callsystem_callSystemCallSystemCallsystem_call (Operator)

Name

system_callsystem_callSystemCallSystemCallsystem_call — 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)

def system_call(command: str) -> None

Beschreibung

system_callsystem_callSystemCallSystemCallSystemCallsystem_call 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.

Ausführungsinformationen

Parameter

CommandCommandCommandCommandcommandcommand (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Befehl für das Betriebssystem.

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

Ergebnis

Unter Windows liefert system_callsystem_callSystemCallSystemCallSystemCallsystem_call immer den Wert TRUE, außer es gab ein Problem beim Erzeugen des neuen Prozesses. Unter anderen Betriebssystemen liefert system_callsystem_callSystemCallSystemCallSystemCallsystem_call immer den Wert TRUE zurück.

Vorgänger

count_secondscount_secondsCountSecondsCountSecondsCountSecondscount_seconds

Siehe auch

wait_secondswait_secondsWaitSecondsWaitSecondsWaitSecondswait_seconds, count_secondscount_secondsCountSecondsCountSecondsCountSecondscount_seconds

Modul

Foundation