system_callsystem_callSystemCallSystemCall (Operator)
Name
system_callsystem_callSystemCallSystemCall
— Ausführen eines Systemaufrufs.
Signatur
Herror system_call(const char* Command)
Herror T_system_call(const Htuple 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
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
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