- inserted command statistic
- add runscript parameter to environment object - added Arg2Tcl0 function
This commit is contained in:
@@ -162,7 +162,7 @@ int TclIntAction(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
cmd = Arg2Tcl(argc-2, &argv[2],pBuffer,1023);
|
||||
if (cmd) {
|
||||
if(self->fd != NULL){
|
||||
fprintf(self->fd,"%s\n",pBuffer);
|
||||
fprintf(self->fd,"%s\n",cmd);
|
||||
}
|
||||
if (cmd != pBuffer) free(cmd);
|
||||
SCSendOK(pCon);
|
||||
|
||||
Reference in New Issue
Block a user