fr:code:core:processhandle
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
fr:code:core:processhandle [2012/03/21 11:24] – [equals] wismerheal | fr:code:core:processhandle [2021/02/13 11:23] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 20: | Ligne 20: | ||
=== Arguments === | === Arguments === | ||
- otherProcessHandle - (ProcessHandle) autre " | - otherProcessHandle - (ProcessHandle) autre " | ||
- | - processId - (entier) identifiant de processus pour gérer/ | + | - processId - (integer) identifiant de processus pour gérer/ |
=== Exceptions === | === Exceptions === | ||
Ligne 75: | Ligne 75: | ||
</ | </ | ||
==== toString ==== | ==== toString ==== | ||
- | Renvoi | + | Renvoie |
=== Syntaxe === | === Syntaxe === | ||
Ligne 82: | Ligne 82: | ||
</ | </ | ||
- | === Returns | + | === Renvoie |
* (string) une chaîne représentant ce " | * (string) une chaîne représentant ce " | ||
Ligne 94: | Ligne 94: | ||
==== id ==== | ==== id ==== | ||
- | Returns the process | + | Renvoie l' |
- | === Syntax | + | === Syntaxe |
<code javascript> | <code javascript> | ||
myObject.id(); | myObject.id(); | ||
</ | </ | ||
- | === Returns | + | === Renvoie |
- | * (integer) | + | * (integer) |
==== kill ==== | ==== kill ==== | ||
- | Try to kill the process. | + | Tenter d' |
- | === Syntax | + | === Syntaxe |
<code javascript> | <code javascript> | ||
myObject.kill(killMode, | myObject.kill(killMode, | ||
Ligne 113: | Ligne 113: | ||
=== Arguments === | === Arguments === | ||
- | - killMode - ([[# | + | - killMode - ([[# |
- | - timeout - (integer) | + | - timeout - (integer) |
- | === Returns | + | === Renvoie |
- | * (boolean) | + | * (boolean) |
==== isRunning ==== | ==== isRunning ==== | ||
- | Returns true if the process is currently running. | + | Renvoie vrai si le processus est actuellement en exécution. |
- | === Syntax | + | === Syntaxe |
<code javascript> | <code javascript> | ||
myObject.isRunning(); | myObject.isRunning(); | ||
</ | </ | ||
- | === Returns | + | === Renvoie |
- | * (boolean) | + | * (boolean) |
==== command ==== | ==== command ==== | ||
- | Returns the command that was used to start this process. | + | Renvoie la commande qui fut utilisée pour lancer le processus. |
- | === Syntax | + | === Syntaxe |
<code javascript> | <code javascript> | ||
myObject.command(); | myObject.command(); | ||
</ | </ | ||
- | === Returns | + | === Renvoie |
- | * (string) the command that was used to start this process | + | * (c) la commande qui fut utilisée pour lancer le processus |
=== Exceptions === | === Exceptions === | ||
- | * (OpenProcessError) | + | * (OpenProcessError) |
- | * (GetModuleFilenameError) unable to get the module | + | * (GetModuleFilenameError) |
- | * (GetProcessError) | + | * (GetProcessError) |
==== priority ==== | ==== priority ==== | ||
- | Returns the priority of this process. | + | Renvoie la priorité de ce processus. |
- | === Syntax | + | === Syntaxe |
<code javascript> | <code javascript> | ||
myObject.priority(); | myObject.priority(); | ||
</ | </ | ||
- | === Returns | + | === Renvoie |
- | * ([[# | + | * ([[# |
=== Exceptions === | === Exceptions === | ||
- | * (OpenProcessError) | + | * (OpenProcessError) |
- | * (GetPriorityClassError) | + | * (GetPriorityClassError) |
- | * (OperatingSystemError) | + | * (OperatingSystemError) |
=== Notes === | === Notes === | ||
- | This method only works on Windows, because | + | Cette Méthode fonctionne seulement sur Windows |
===== Enumerations ===== | ===== Enumerations ===== | ||
==== KillMode ==== | ==== KillMode ==== | ||
- | Policy to use when trying to kill a process. | + | Politique à respecter pour utiliser la tentative d' |
- | === Values | + | === Valeurs |
- | - Graceful: Linux: | + | - Graceful |
- | - Forceful: Linux: | + | - Forceful |
- | - GracefulThenForceful: | + | - GracefulThenForceful |
==== Priority ==== | ==== Priority ==== | ||
- | A process priority. | + | La priorité d'un processus. |
- | === Values | + | === Valeurs |
- | - AboveNormal: | + | - AboveNormal: |
- | - BelowNormal: | + | - BelowNormal: |
- | - High: high | + | - High: haute |
- | - Idle: idle | + | - Idle: en attente / au repos |
- | - Normal: | + | - Normal: |
- | - Realtime: | + | - Realtime: |
fr/code/core/processhandle.1332329046.txt.gz · Dernière modification : 2021/02/13 11:23 (modification externe)