in reply to Re^7: Using STDIN after exec() with ActiveState Perl
in thread Using STDIN after exec() with ActiveState Perl

If I use system then I will end up with tons of perl processes (one for each DLL change).

Replies are listed 'Best First'.
Re^9: Using STDIN after exec() with ActiveState Perl
by Anonymous Monk on Jun 21, 2015 at 20:43 UTC

    If I use system then I will end up with tons of perl processes (one for each DLL change).

    You're already going to get that if you try to use exec -- so do you want STDIN to work or what?

      No, when I use exec I always have only one perl process running at the same time. If I use system, I end up with several processes running at the same time (+1 each time I run system $^X, $0).
        Yeah thats true, but the point remains, if you want STDIN to work, don't use exec