-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read Pipe problem #123
Comments
Hi, Could you give some context ? I have no idea what you're trying to do here. |
Hi. Thanks for participating |
The task is to transfer data between the Pachi and my c++ unreal engine project |
Try asking UE4 devs then, maybe they can help you with this ... |
Ok, I'll ask from the another side. |
Hey! Did you figure out wy its happens? I have the same problem and this thread the only one I found
|
@Pecka95 - are you using UE as well? This feels like a problem in Your/FynjyAC's platform, commanding pachi by std pipe works fine. |
Yeah, it's not about pachi, it's about Unreal Engine. Sorry for asking and botheting you here, but FynjyAC's problem it's the only one similar problem with mine which I could found and I don't know how to ask him directly |
Np, tho we cannot help with that here, I know nothing about UE.
My 2cent would be bad usage of the pipe setup function, i.e. you in fact
read from the same buffer you write, or something like that. Also the
concept of buffer flushing is also often source of confusion.
…On Tue, Aug 23, 2022, 17:16 Pecka95 ***@***.***> wrote:
@Pecka95 <https://github.com/Pecka95> - are you using UE as well? This
feels like a problem in Your/FynjyAC's platform, commanding pachi by std
pipe works fine.
Yeah, it's not about pachi, it's about Unreal Engine. Sorry for asking and
botheting you here, but FynjyAC's problem it's the only one similar problem
with mine, which I could found and I don't know how to ask him directly
—
Reply to this email directly, view it on GitHub
<#123 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACGV5PL76GD3VM65NBFVUODV2TTNLANCNFSM4H3FKGFQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Greetings.
I have a problem with the "write pipe" function in UE4.
I read the data from the "readPipe" without any problems. But when I try to send data "genmove b" through "writePipe", I get the same in the response in "readPipe".
FProcHandle ProcessHandle = FPlatformProcess::CreateProc(tFilename, tArguments, false, false, false, NULL, 0, tWorkingDirectory, goWritePipe, goReadPipe);
FString myOut = FPlatformProcess::ReadPipe(goReadPipe);
I get all the initial information
if (FPlatformProcess::WritePipe(goWritePipe, "genmove b"))
Could you give me any advice?
The text was updated successfully, but these errors were encountered: