added !execute
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3594 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
3181bf4b4d
commit
bb3f7be9ba
4 changed files with 27 additions and 0 deletions
|
@ -40,6 +40,14 @@ This command will echo a message to the user compiling the script.
|
|||
|
||||
This command will issue an error to the script compiler and will stop execution of the script. You can also add a message to this error.
|
||||
|
||||
\S1{execute} !execute
|
||||
|
||||
\c command
|
||||
|
||||
This command will execute 'command' using a call to CreateProcess(). Unlike \R{system}{!system}, it does not use the command line processor, so input/output redirection and commands like 'cd', 'dir' and 'type' can not be used. !execute also ignores the return value of the executed command. Currently, the only known advantage of !execute over \R{system}{!system} is that it does not give trouble when the current working directory is specified using UNC.
|
||||
|
||||
On POSIX platforms, !execute will use system() just like \R{system}{!system}.
|
||||
|
||||
\S1{packhdr} !packhdr
|
||||
|
||||
\c tempfile command
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue