Note that there are some explanatory texts on larger screens.

plurals
  1. POExec vs ExecWait vs ExecShell vs nsExec::Exec vs nsExec::ExecToLog vs nsExec::ExecToStack vs ExecDos vs ExeCmd
    primarykey
    data
    text
    <p>Can I know what are the differences between each <code>Exec</code>, <code>ExecWait</code>, <code>ExecShell</code>, <code>nsExec::Exec</code>, <code>nsExec::ExecToLog,</code> <code>nsExec::ExecToStack</code>, <code>ExecDos</code> and <code>ExecCmd</code>, as in when to use which?</p> <p>I 've posted the various execute calls I know. I am trying to make a comprehensive list, so that it helps future visitors..</p> <ol> <li><p><code>Exec</code>: Plainly execute the called string, be it some application, console or file.</p></li> <li><p><code>ExecWait</code>: Executes like <code>Exec</code> but waits till the process exits.</p></li> <li><p><code>ExecShell</code>: <strong>What is it for?</strong></p></li> <li><p><code>nsExec::Exec</code>: Just like <code>Exec</code> or <code>ExecWait</code> but only for command prompt and that too without opening the console window. I am unsure if it waits for process to exit. <strong>Does <code>nsExec::Exec</code> wait for child process to exit?</strong></p></li> <li><p><code>nsExec::ExecToLog</code>: <code>The documentation says ExecToLog</code> is similar to plain <code>nsExec</code> but it outputs to log window. <strong>What does that mean, what is a log window?</strong></p></li> <li><p><code>nsExec::ExecToStack</code>: The documentation says <code>ExecToStack</code> is similar to plain <code>nsExec</code> but it pushes output to stack. I get that.</p></li> <li><p><code>ExecDos</code>: Same as <code>nsExec::ExecToStack</code> but it additionally (<strong>Is it not</strong>?)</p> <p>a. takes string parameter that serves as stdin for running application.</p> <p>b. works in both sync/async mode.</p> <p>c. it works out of section - for .onInit check outs.</p></li> <li><p><code>ExecCmd</code>: Same as <code>ExecDos</code> but it doesn't require these</p> <pre><code>ExpandEnvStrings $3 %COMSPEC% ExecDos::exec /C </code></pre> <p>parts. <strong>Am I correct?</strong></p></li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload