Closed khchen closed 3 years ago
sweet! Thank you!
Fixed! Thanks!
Sorry for reviving this old and closed issue but I have been trying to extend the functionality of the execute-assembly module to allow it to grab the stdout output of the Assembly after execution from the stdout buffer. I have tried reopen() to remap stdout to a file and seeking back to its start to read it, as well as seeking directly on the stdout pipe but without much success. Does anybody know how to implement this correctly? Thanks :)
https://docs.microsoft.com/en-us/dotnet/api/system.reflection.methodbase.invoke?view=net-5.0 Hint: parameters of EntryPoint.Invoke is
(Object, Object[])
.Object[]
can be created bytoCLRVariant(openArray)
, so...