Hi,

I'm facing a problem to get result of SEC standard error. I'm currently 
writing a software in Python which starts SEC as a subprocess and tests 
if a rule file is well-written. So I try to catch SEC standard error to 
get something like:
./rules.sec line 1 (test line): Line not in keyword=value format or 
non-alphanumeric keyword

## What did I try and what is the result?
Since I didn't have anything on standard output / error in Python, I 
tried these commands in a terminal:

$ ./sec --input=- --debug=3 --no-tail --conf=./rules.sec
./rules.sec line 1 (test line): Line not in keyword=value format or 
non-alphanumeric keyword

Result is what I expected so I tried then:

$ ./sec --input=- --debug=3 --no-tail --conf=./rules.sec 
2>error_file.txt
$ cat error_file.txt

... But there was nothing in my file!


I'm running on an updated Manjaro (~ Arch) distribution with Gnome 
Terminal 3.12.
SEC is in v2.7.6.


I don't know if this is a bug or if I'm doing something wrong, but maybe 
someone has already faced this kind of problem?

Thanks!

Marien

------------------------------------------------------------------------------
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to