Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon3.gif   call a shell from ELOG / new button [Submit & Notify], posted by Etienne Van Caillie on Sat Jan 11 19:44:29 2003 
    icon2.gif   Re: call a shell from ELOG / new button [Submit & Notify], posted by Stefan Ritt on Mon Jan 13 11:45:18 2003 
Message ID: 195     Entry time: Sat Jan 11 19:44:29 2003     Reply to this: 197
Icon: Idea  Author: Etienne Van Caillie  Author Email: etienne.vancaillie@mba.be 
Category: Request  OS:   ELOG Version:  
Subject: call a shell from ELOG / new button [Submit & Notify] 
propose to put 
[Submit] [Back] [Submit & Notify] button on top/bottom

new parameter 'shell option' 

[test]
...
Attributes = NotifyMode, Param1....Param10, Adresse, Subject, ...
Options NotifyMode = mail, SMS, Fax, printer...

; this command will invoque a shell command  
; example       
ShellCommand = <my shell command> parameters ...

like in WINDOWS 2000
ShellCommand = START.EXE notify.bat $NotifyMode $Param1, $Param2, $Param3
; in this case no necessity to modify the C source
; in windows I suggest the start.exe with a exit command
; so no necessary to wait the return code from the shell
ELOG V3.1.5-fe60aaf