in reply to Re: how to exec() with my filehandles !
in thread [Resolved] how to exec() with my filehandles !

Yes sorry, i put a "system" function in my sub, but it's "exec"
Code updated!
thanks !

I will also try open3, thanks !
  • Comment on Re^2: how to exec() with my filehandles !

Replies are listed 'Best First'.
Re^3: how to exec() with my filehandles !
by snfever (Novice) on May 21, 2010 at 21:42 UTC
    OK, i'm testing the short code (with open3) and it's working perfectly !
    I need to go to CPAN more :)
    Thanks everybody !
      IPC::Open3 is pretty low level. I suggest you look at IPC::Run3 or the more flexible IPC::Run
      Well, I don't want to curb your enthusiasm, but IPC::Open3 is a core module, meaning: it comes with Perl. So in this case, no visit to CPAN is necessary.