http://www.perlmonks.org?node_id=950297


in reply to Re^2: ActivePerl - perl.exe works, wperl.exe does not...
in thread ActivePerl - perl.exe works, wperl.exe does not...

The difference is STDIN/STDOUT/STDERR/

wperl.exe, being a windows GUI application, doesn't have these

perl.exe, being a windows console (cmd.exe) application, does have these, but it also has a console window

So you start wperl because it has no console window, make sure the children get hidden, then launch a hidden perl.exe , because it has a console and STDIN/STDOUT/STDERR

Apparently Net::SFTP ... needs a STDIN/STDOUT/STDERR for pipes and such

  • Comment on Re^3: ActivePerl - perl.exe works, wperl.exe does not...

Replies are listed 'Best First'.
Re^4: ActivePerl - perl.exe works, wperl.exe does not...
by Anonymous Monk on Jul 11, 2013 at 09:03 UTC
    Lovely, thank You..:-)