|
|
jswinhost
jswinhost executable
jswinhost executable
home > JSLibs > jswinhost -![]()
Description
jswinhost ( javascript windows host ) is a small executable file that run javascript programs under a windows environment. The main difference with jshost is the jswinhost do not popup any windows
Functions
- status LoadModule( moduleFileName )
same as jshost
Properties
- object global
- string argument
the whole command line
Configuration object
see jshost
Remarks
There is no way to specify the script to execute using the command line. You have to create a .js file using the name of the host. By default, jswinhost.exe is the name of the host and jswinhost.js is the script the host execute. Because jwinshost do not use a console window, errors and printed messages will not be displayed.
However, you can write your own output system:
LoadModule('jswinshell');
configuration.stdout = new Console().Write;
configuration.stderr = MessageBox;
LoadModule('jsstd');
Print('toto');
hkqjsfhkqsdu_error();
Sign in to add a comment

