WebCommand

Downloads12
Subscribe
2
Bookmark
0
This application is not supported by InterSystems Corporation. Please be notified that you use it at your own responsibility.
Details
Releases
Reviews
Issues
Articles

What's new in this version

move to archive

WebCommand

There is a popular package “WebTerminal”. It is excellent in most situations.
Except:

  • running system commands in your operating shell is not so easy
  • as it communicates to the IRIS host over HTTP and WSS it consumes 2 connections
    With only 5 connections in the community license (and the “Grace Period of CSP”)
    you can hit the limits rater fast: 2 Webterminals + 1 SMP and you are done
  • WebCommand is a pure CSP page consuming just 1 single connection
  • WebCommand allows multiple ObjectScript command lines running in sequence
  • With $ or ! your command goes to Operating System same as with default terminal
  • It is no full terminal emulation but a slim helper for debugging
  • And it is an excellent place to apply “One Liners”

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

Clone/git pull the repo into any local directory

git https://github.com/isc-at/WebCommand.git

Run the IRIS container with your project:

docker-compose up -d --build

How to Test it

http://localhost:42773/csp/user/webcmd.csp

or use Online Demo :

Examples

  • Just a simple loop in ObjectScript
  • Directory listing inside container
  • File Dump

Article on DC

Rating
5 (3)
ObjectScript quality test
Passed
Updated on 15 September 2023
ObjectScript quality report
Category
Technology Example
Works with
InterSystems IRIS
Tags
Info
Version
0.0.4
Last updated
2023-09-16
Repository
Open
Documentation
Open
License
Link