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

here you go system $^X, $0 ;

Replies are listed 'Best First'.
Re^8: Using STDIN after exec() with ActiveState Perl
by Yaribz (Beadle) on Jun 21, 2015 at 20:25 UTC
    If I use system then I will end up with tons of perl processes (one for each DLL change).

      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).