in reply to Re^8: 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).

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

  • Comment on Re^9: Using STDIN after exec() with ActiveState Perl

Replies are listed 'Best First'.
Re^10: Using STDIN after exec() with ActiveState Perl
by Yaribz (Beadle) on Jun 21, 2015 at 20:54 UTC
    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
        Indeed, that's what I realized with my problem already, but I was just hoping someone would have found a workaround for this ActiveState perl specific problem.