Looking for a extensible shell for debug purpose



Hi,

My scenerio is, I need to do a test on a program, but in usual thhis
program is invoked by IPC by another process, that is, the program
listen to a socket, then read message from the socket sent by other
process using IPC. So debug this program needs the other program to
cooperate with.

Now I want to add a thread to this program to start shell, which is
extensible shell, to enter command, then invoke the corresponding
function in the program.

Please note that this is different from general extensible language,
like lua, can embedded into the program, and by running lua script to
run into the original program.

I don't need script, I just want to know the states of the program when
running. The thread is started when the program is ready, and can
accept user input to show some infomation. This need the shell can link
with my own program.

Any help appreciated!
ABAI

.



Relevant Pages

  • Re: how to write a program that takes arguments from commandline?
    ... I assume argc contains the number of ... programs are often invoked from a shell ... Shells *can* use spaces to delimit arguments, ... like for constructing the arguments for the programs you invoke. ...
    (comp.lang.c)
  • Re: Looking for a extensible shell for debug purpose
    ... process using IPC. ... extensible shell, to enter command, then invoke the corresponding ... Please note that this is different from general extensible language, ... like lua, can embedded into the program, and by running lua script to ...
    (comp.os.linux.development.apps)
  • Re: without shell
    ... >> These commands invoke shell indeed. ... > sequence rather than a single string. ... On UNIX, os.popen is posix.popen, is a simple wrapper ...
    (comp.lang.python)
  • Re: COM Interop
    ... use Reflection to invoke the methods/properties of the COM ... Shell MegaPack: GUI Controls For Drop-In Windows Explorer like Shell ... I am trying to reference a COM dll from my C# code. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Keep getting error with email validation script
    ... What is unsafe about the systemfunction? ... Using the shell is certainly unsafe, but you can use the system ... This is because systemunder *nix uses the fork/exec model. ... If you use the form of systemthat does not invoke a shell, ...
    (comp.lang.perl.misc)