benwilson512

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

Ah. You’re trying to let someone submit arbitrary Elixir code, and then describe the results. Can’t you just capture all output as was discussed in one of the other forum questions you asked? Why do you need to rewrite stderr and stdio?

BTW nothing will stop someone from writing Elixir code that undoes whatever it is you do to capture the IO. Eval allows anything.

0
Post #11
sadcad

sadcad OP

What do you mean ? how exactly would I then be able to write as described in my post above ?
I just wanna treat each output differently, that’s why I’m choosing stderr and stdout

Sure I’m aware of that, thanks! :pray:

0
Post #12
— All posts loaded —