Hi,
 
Is blat trying to read stdin? 
 
If so, the problem may be that the file descriptors are not being set up 
correctly
between SEC, perl, cmd.exe and blat.
 
I don't have a system to try this on at the moment, but I suspect that stdin is
getting redirected somewhere else (keyboard perhaps?) and it just hangs.
 
Try substituting the 'cat' program for blat and see if you can get input 
redirected correctly.
 
My 0.02USD
 
Jim B.
 
 
________________________________

From: [EMAIL PROTECTED] on behalf of Daniel Jursik
Sent: Wed 8/13/2008 10:22 PM
To: Hari Sekhon
Cc: [EMAIL PROTECTED]; [email protected]
Subject: Re: [Simple-evcorr-users] SEC On Windows


Hello Hari,

See attached output run from cygwin shell, first from sec, the seconf the 
shellcmd itself.

Thanks and Regards,

$ /cygdrive/e/sec/sec.pl -conf=/cygdrive/e/sec/test.txt -input=/cygdrive/e/sec/
test3.txt -log=/cygdrive/e/sec/log3.txt -notail
SEC (Simple Event Correlator) 2.4.2
Reading configuration from /cygdrive/e/sec/test.txt
1 rules loaded from /cygdrive/e/sec/test.txt
Executing shell command '/cygdrive/c/WINDOWS/system32/cmd.exe /c 
e:\\sec\\test.bat test test'
Child 5320 created for command '/cygdrive/c/WINDOWS/system32/cmd.exe /c 
e:\\sec\\test.bat test test'
Sending SIGTERM to process 5320

$  /cygdrive/c/WINDOWS/system32/cmd.exe /c e:\\sec\\test.bat test test

e:\cygwin>blat - -to xxxxx -body test -s test
Blat v2.6.2 w/GSS encryption (build : Feb 25 2007 12:06:19)

Sending stdin.txt to xxxxxx
Subject: test
Login name is xxxxxxx


On Wed, Aug 13, 2008 at 5:00 PM, Hari Sekhon <[EMAIL PROTECTED]> wrote:


        Daniel Jursik wrote:
        

                Hello John,
                
                I already tried that after email Hari but still no luck.
                I tried everything, even simple echo command.
                

        Have you tried entering the command line you are using manually from 
within the cygwin environment to see if it works in cygwin before copying and 
pasting it into a shellcmd in Sec?
        
        What command lines have you been trying and what are their output/error 
messages?
        
        -h
        
        -- 
        Hari Sekhon
        
        




Note: The information contained in this message may be privileged and 
confidential and protected from disclosure. If the reader of this message is 
not the intended recipient, or an employee or agent responsible for delivering 
this message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by replying to the message and deleting it from your computer. 
Thank you. ThruPoint, Inc.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to