#include #include #include #include "shellmod.h" #include "shellmod.m" #include "protocol.h" static int shellprg_runmain ( const char *cmd, char *argv[], int start, int end) { int ret = -1; SHELL_INSTANCE inst (cmd); if (inst.isalive()){ SSTRING buf ("main "); for (int i=start; i