kjscmdSection: User Commands (1)
Index Return to Main Contents
NAMEkjscmd - A tool for running KJSEmbed scripts from the command line
SYNOPSISkjscmd kjscmd [Qt-options] [KDE-options] [options] [file]
DESCRIPTIONkjscmd is a tool for launching KJSEmbed scripts from the command line, and can also provide a console for running commands interactively. It will run the named file using KJSEmbed (or read a file from stdin if '-' is specified).
- --console -c
- Enables the graphical console. The console will not be visible unless the script enters the event loop or the --exec parameter is used. If no script was specified on the command line then the event loop is entered automatically.
- --interactive -i
- Enables the interactive command line prompt.
- Tells kjscmd to enter the event loop after executing the script. This option is rarely used, but it can be handy if you want to use the console to examine the state of the interpreter after a non-graphical script has executed.
- Tells kjscmd not to create an X connection. This allows you to use scripts without needing an X server (though with reduced functionality).
BUGSThere are probably lots of bugs. Use http://bugs.kde.org/ to report them.