Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| util:jsexec [2021/01/30 01:06] – [uifc] Link to reference page digital man | util:jsexec [2022/03/06 15:19] (current) – [Module] Add Log Level section digital man | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| < | < | ||
| - | usage: jsexec [-opts] [path]module[.js] [args] | + | usage: jsexec [-opts] |
| + | or: jsexec [-opts] -r js-expression [args] | ||
| + | or: jsexec -v | ||
| available opts: | available opts: | ||
| + | -r< | ||
| -c< | -c< | ||
| -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< | + | -m< |
| - | -s< | + | |
| -t< | -t< | ||
| -y< | -y< | ||
| Line 35: | Line 37: | ||
| -f use non-buffered stream for console messages | -f use non-buffered stream for console messages | ||
| -a | -a | ||
| - | -A send all message | + | -A send all messages |
| - | -A< | + | -A< |
| -e< | -e< | ||
| -o< | -o< | ||
| 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 | + | -D load the script |
| </ | </ | ||
| Line 56: | Line 58: | ||
| **Note:** | **Note:** | ||
| When JSexec starts up, it changes its **current working directory** to the Synchronet '' | When JSexec starts up, it changes its **current working directory** to the Synchronet '' | ||
| + | |||
| + | ==== Log Level ==== | ||
| + | |||
| + | The log severity/ | ||
| ===== Additional Properties ===== | ===== Additional Properties ===== | ||