Updated nsExec readme information on the timeout param
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1304 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d582169220
commit
b66ee0a447
1 changed files with 7 additions and 6 deletions
|
@ -15,17 +15,18 @@ nsExec::ExecToLog [/TIMEOUT=x] path
|
||||||
Both functions are the same except ExecToLog will print the output
|
Both functions are the same except ExecToLog will print the output
|
||||||
to the logwindow.
|
to the logwindow.
|
||||||
|
|
||||||
The timeout value is optional and is used to set the time in
|
The timeout value is optional. The timeout is the time in
|
||||||
milliseconds for the plugin to wait for the process to return
|
milliseconds nsExec will wait for output. If output from the
|
||||||
before it quits, or the time in milliseconds for the plugin
|
process is received, the timeout value is reset and it will
|
||||||
to wait for output to come out before it quits if using
|
again wait for more output using the timeout value. See Return
|
||||||
ExecToLog. The default is no timeout.
|
Value for how to check if there was a timeout.
|
||||||
|
|
||||||
|
|
||||||
Return Value
|
Return Value
|
||||||
------------
|
------------
|
||||||
If nsExec is unable to execute the process, it will return "error"
|
If nsExec is unable to execute the process, it will return "error"
|
||||||
on the top of the stack, else it returns the return code from the
|
on the top of the stack, if the process timed out it will return
|
||||||
|
"timeout", else it will return the return code from the
|
||||||
executed process.
|
executed process.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue