From c4a4683f5d1ba9de6fe357083e23c964f7fa6d13 Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 14 Nov 2005 20:06:01 +0000 Subject: [PATCH] applied patch #1355653 - /OEM switch git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4412 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/nsExec/nsExec.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Contrib/nsExec/nsExec.txt b/Contrib/nsExec/nsExec.txt index ace72812..23cfbebb 100644 --- a/Contrib/nsExec/nsExec.txt +++ b/Contrib/nsExec/nsExec.txt @@ -6,20 +6,22 @@ without opening a dos box. Usage ----- -nsExec::Exec [/TIMEOUT=x] path +nsExec::Exec [/OEM] [/TIMEOUT=x] path -or- -nsExec::ExecToLog [/TIMEOUT=x] path +nsExec::ExecToLog [/OEM] [/TIMEOUT=x] path -or- -nsExec::ExecToStack [/TIMEOUT=x] path +nsExec::ExecToStack [/OEM] [/TIMEOUT=x] path All functions are the same except ExecToLog will print the output to the logwindow and ExecToStack will push up to ${NSIS_MAX_STRLEN} characters of output onto the stack after the return value. +Use the /OEM switch to convert the output text from OEM to ANSI. + The timeout value is optional. The timeout is the time in milliseconds nsExec will wait for output. If output from the process is received, the timeout value is reset and it will