From 8d98b4e0d1d83b9a170dd8dccd86451c1c104419 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 2 Mar 2021 20:48:01 +0200 Subject: Windows: Implement IPC with mailslots --- src/app.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/app.c') diff --git a/src/app.c b/src/app.c index 29d0dd17..5c04fd92 100644 --- a/src/app.c +++ b/src/app.c @@ -466,7 +466,8 @@ static void communicateWithRunningInstance_App_(iApp *d, iProcessId instance, if (!isEmpty_String(cmds)) { iString *result = communicate_Ipc(cmds); if (result) { - puts(cstr_String(result)); + fwrite(cstr_String(result), 1, size_String(result), stdout); + fflush(stdout); } delete_String(result); } -- cgit v1.2.3