diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-02 20:48:01 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-02 20:48:01 +0200 |
commit | 8d98b4e0d1d83b9a170dd8dccd86451c1c104419 (patch) | |
tree | 7edb6a0c92d5c07999ea222037e782b30e19d8c6 /src/app.c | |
parent | f992ba117fe420a7231f005e62627380689d57ab (diff) |
Windows: Implement IPC with mailslots
Diffstat (limited to 'src/app.c')
-rw-r--r-- | src/app.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -466,7 +466,8 @@ static void communicateWithRunningInstance_App_(iApp *d, iProcessId instance, | |||
466 | if (!isEmpty_String(cmds)) { | 466 | if (!isEmpty_String(cmds)) { |
467 | iString *result = communicate_Ipc(cmds); | 467 | iString *result = communicate_Ipc(cmds); |
468 | if (result) { | 468 | if (result) { |
469 | puts(cstr_String(result)); | 469 | fwrite(cstr_String(result), 1, size_String(result), stdout); |
470 | fflush(stdout); | ||
470 | } | 471 | } |
471 | delete_String(result); | 472 | delete_String(result); |
472 | } | 473 | } |