From 093f1f9bb684a722e8b7d6a0f36708081a4ca8bc Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 16 Sep 2003 16:44:06 +0000 Subject: [PATCH] /CMD no longer exists git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2923 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/nsExec/nsExec.txt | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Contrib/nsExec/nsExec.txt b/Contrib/nsExec/nsExec.txt index 5f1e2f75..ace72812 100644 --- a/Contrib/nsExec/nsExec.txt +++ b/Contrib/nsExec/nsExec.txt @@ -6,15 +6,15 @@ without opening a dos box. Usage ----- -nsExec::Exec [/TIMEOUT=x] [/CMD] path +nsExec::Exec [/TIMEOUT=x] path -or- -nsExec::ExecToLog [/TIMEOUT=x] [/CMD] path +nsExec::ExecToLog [/TIMEOUT=x] path -or- -nsExec::ExecToStack [/TIMEOUT=x] [/CMD] path +nsExec::ExecToStack [/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} @@ -26,12 +26,6 @@ process is received, the timeout value is reset and it will again wait for more output using the timeout value. See Return Value for how to check if there was a timeout. -The /CMD param is optional. The /CMD indicates that the exec procedure should use -command processor to execute the command, ie, %COMSPEC% path - -*IMPORTANT NOTICE* The /CMD param should be used for 16bits MS-DOS applications -or applications that create windows, or any form of user interface - To ensure that command are executed without problems on all windows versions, is recommended to use the following syntax: