Home Applications WebCommand

WebCommand

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
5
3 reviews
0
Awards
305
Views
11
IPM installs
5
1
Details
Releases
Reviews  (3)
Issues
Articles  (1)
Simulate command line in IRIS and OS

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

Made with
Install
zpm install webcommand download archive
Version
0.0.416 Sep, 2023
ObjectScript quality test
Category
Technology Example
Works with
InterSystems IRIS
First published
28 May, 2022
Last checked by moderator
01 Nov, 2023Works