Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
util:jsexec [2020/11/13 20:16] – Document how the JSexec output methods/streams are supposed to work digital manutil:jsexec [2022/03/06 15:14] – [Command Line] pasted the current usage output digital man
Line 16: Line 16:
  
 <file> <file>
-usage: jsexec [-opts] [path]module[.js] [args]+usage: jsexec [-opts] [[path/]module[.js] [args] 
 +   or: jsexec [-opts] -r js-expression [args] 
 +   or: jsexec -v
  
 available opts: available opts:
  
 +    -r<expression> run (compile and execute) JavaScript expression
     -c<ctrl_dir>   specify path to Synchronet CTRL directory     -c<ctrl_dir>   specify path to Synchronet CTRL directory
     -C             do not change the current working directory (to CTRL dir)     -C             do not change the current working directory (to CTRL dir)
     -d             run in background (daemonize)     -d             run in background (daemonize)
-    -m<bytes>      set maximum heap size (default=8388608 bytes) +    -m<bytes>      set maximum heap size (default=16777216 bytes)
-    -s<bytes>      set context stack size (default=16384 bytes)+
     -t<limit>      set time limit (default=864000, 0=unlimited)     -t<limit>      set time limit (default=864000, 0=unlimited)
     -y<interval>   set yield interval (default=10000, 0=never)     -y<interval>   set yield interval (default=10000, 0=never)
Line 35: Line 37:
     -f             use non-buffered stream for console messages     -f             use non-buffered stream for console messages
     -a             append instead of overwriting message output files     -a             append instead of overwriting message output files
-    -A             send all message to stdout +    -A             send all messages to stdout 
-    -A<filename>   send all message to file instead of stdout/stderr+    -A<filename>   send all messages to file instead of stdout/stderr
     -e<filename>   send error messages to file in addition to stderr     -e<filename>   send error messages to file in addition to stderr
     -o<filename>   send console messages to file instead of stdout     -o<filename>   send console messages to file instead of stdout
Line 48: Line 50:
     -p             wait for keypress (pause) on exit     -p             wait for keypress (pause) on exit
     -!             wait for keypress (pause) on error     -!             wait for keypress (pause) on error
-    -D             debugs the script+    -D             load the script into an interactive debugger
 </file> </file>
  
Line 93: Line 95:
 JSexec includes an instance of a special User Interface class called ''uifc''. JSexec includes an instance of a special User Interface class called ''uifc''.
  
-FIXME+See the [[ref:UIFC]] reference page for more details.
  
 ===== shebang ===== ===== shebang =====