Third party library behaves differently in unreal

hi FrankKappa
I think I have the same problem as yours though I am using matlab instead. your solution sounds correct though I don’t understand it correctly. can you elaborate it more please or give me some resources and/or tutorials.

I have a program using matlab that takes file path of an image and return classification result. I want to use it in unreal engine while the player presses a key from keyboard. I tried blueprint functionalities and used FPlatformProcess::CreateProc. It tries to open it but it stops saying “too many inputs”.
I think the problem is input/output handling