Skip to content

Commit 409f4c4

Browse files
committed
Try to avoid callbacks after process death
by closing stdin/stdout as a workaround.
1 parent fd80019 commit 409f4c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/tester/tester-tests.adb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,8 @@ package body Tester.Tests is
404404
Listener.Process.Set_Program (Cmd);
405405
Listener.Process.Set_Arguments (Args);
406406
Listener.Process.Start;
407+
Listener.Process.Close_Standard_Output;
408+
Listener.Process.Close_Standard_Error;
407409

408410
loop
409411
Spawn.Processes.Monitor_Loop (Timeout => 10);

0 commit comments

Comments
 (0)