[prev] [up] [next]

Remote doit Execution from the shell Level


The rdoit goody consists of a server (on the smalltalk side), which awaits requests on a socket, and a C-program (called "rdoit"), which connects to this, and sends a smalltalk expression to be evaluated.
This allows for smalltalk actions to be started from the shell level (i.e. via shell scripts, other programs, tcl/perl and other scripts.

With rdoit, you can:


See the README and source code in "goodies/rdoit"; and -
Use the source - Luke.


Start the rdoit server first (this can now be done via the Launcher's communications-settings-dialog).
Then, open a shell window and enter the shell command:
    rdoit "Transcript showCR:'hello there.'"


    rdoit "FileBrowser open"


    rdoit "SomeApplication open"
to open one of your applications.


    rdoit -p "1000 factorial"
(-p means: 'print result')


This addOn package is NOT to be considered part of the base ST/X system. It is provided physically with the ST/X delivery, but only for your convenience.

Legally, it is a freeware or public domain goody, as specified in the goodies copyright notice (see the goodies source).

No Warranty

This goody is provided AS-IS without any warranty whatsoever.


Found in the smalltalk archives.

Bill Voss (Original version)
Claus Gittinger (Additional functionality, security and result backpassing)

Copyright © 1999 eXept Software AG


Doc $Revision: 1.8 $