in reply to Zombie process after open pipe and SIGINT on Windows

G'day kaldor,

As far as I can tell, there is no tail command on Windows:

Microsoft Windows [Version 10.0.19045.2486] (c) Microsoft Corporation. All rights reserved. C:\Users\ken>where tail INFO: Could not find files for the given pattern(s).

So that's Win10; perhaps you're using a different version. In "stackoverflow: A Windows equivalent of the Unix tail command", a number of emulators are referenced; maybe you're using one of those. Whatever the situation, some additional information regarding this would be helpful in getting an answer.

You could take a look at File::Tail. I note that "CPAN Testers Matrix: File-Tail 1.3 (latest distribution)" shows many tests against Perl versions running on "mswin32", all of which are successful.

See also: "open(): Opening a filehandle into a command" (and the links from there, especially those to perlipc).

— Ken

Replies are listed 'Best First'.
Re^2: Zombie process after open pipe and SIGINT on Windows
by kaldor (Beadle) on Jan 24, 2023 at 19:50 UTC
    Hi,
    Actually, my real code executes a long Powershell command that searches stuff.
    I've replaced it by busybox-w32 running as 'tail' to be sure the problem didn't come from this command.
    Result : same behaviour in both cases...