From 0aaca67c0d200d02bd1fcc5d94dea76eca627c7f Mon Sep 17 00:00:00 2001 From: anders_k Date: Fri, 12 Jan 2018 02:01:44 +0000 Subject: [PATCH] Added required Pop's to nsExec example usage git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6967 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/nsExec/nsExec.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Contrib/nsExec/nsExec.txt b/Contrib/nsExec/nsExec.txt index 3fcb5cf7..8606986c 100644 --- a/Contrib/nsExec/nsExec.txt +++ b/Contrib/nsExec/nsExec.txt @@ -7,14 +7,18 @@ without opening a dos box. Usage ----- nsExec::Exec [/OEM] [/TIMEOUT=x] path +Pop $0 -or- nsExec::ExecToLog [/OEM] [/TIMEOUT=x] path +Pop $0 -or- nsExec::ExecToStack [/OEM] [/TIMEOUT=x] path +Pop $0 ; Return +Pop $1 ; Output All functions are the same except ExecToLog will print the output to the log window and ExecToStack will push up to ${NSIS_MAX_STRLEN}