1 365 octets ajoutés
, 11 décembre 2013 à 08:08
{{Arduino Yun-NAV}}
<h4>exitValue()</h4>
== Description ==
{{bloc-etroit|text=Classe [[Arduino Yun-Librairie##Process_-_classes_et_m.C3.A9thodes|Process]], librairie/bibliothèque d'[[Arduino Yun-Librairie|Arduino Yùn]].
Returns the exit value (aka return code) of a process that was running. Used by run() and runShellCommand() to return the status of the process that the user has launched.
''exitValue()'' returns a 0 if the process is has completed correctly.
If an error occurred during the process the exit value will different than 0. There isn't a standard definition for the return code, it depends on the process. Refer to the documentation of the process to know what the code means. }}
== Syntaxe ==
Process.exitValue()
== Paramètres ==
aucun
== Résultat ==
unsigned int. 0 if the process completed correctly. Any value other than 0 means an error occurred during the process. There isn't a standard for the return code, depends on the process you have run.
== Exemple ==
aucun
== Voir aussi ==
* [[RB-ARD-YUN-Process-Func-run|Process.run()]]
* [[RB-ARD-YUN-Process-Func-runShellCommand|Process.runShellCommand()]]
* [[RB-ARD-YUN-Process-Func-addParameter|Process.addParameter()]]
* [[RB-ARD-YUN-Process-Func-runAsynchronously|Process.runAsynchronously()]]
* [[RB-ARD-YUN-Process-Func-begin|Process.begin()]]
{{Arduino Yun-TRAILER}}