Closed qjerome closed 5 years ago
Hello,
As far as I can tell, this is because e scr.html=true
is set so you can get colorized output from the console.
A temporary fix could be to detect if a command starts with #!
and set scr.html
to false.
Hi,
Thanks, I did not know that env variable. I can simply disable the feature into my scripts using r2pipe.
I guess the issue can be closed since it is not really a bug ...
Ok, if what you say fixes it then all good!
However if you need to add a if()
to disable scr.html
when a command starts with #!
feel free to open a PR or reopen the issue.
Thanks.
Yes it does work like this. Thank you for your time
Environment information
Describe the bug The r2 commands *.j** (supposed to return JSON) executed from a r2pipe do not return JSON deserializable output anymore.
To Reproduce Steps to reproduce the behavior:
Expected behavior JSON output is expected.
Additional Context This was working perfectly on 1.7.2 so I think it is related to a recent change.
PS Thank you guys for your great job