Open ShyLionTjmn opened 7 years ago
Not sure if it is a bug, because exec does not return to perl, but at least it is worth mentioning in documentation.
Running: perl -e 'use Capture::Tiny qw(:all); capture { exec( ("ls","-l","/tmp") ) };' will leave captured output in temporary files.
perl -e 'use Capture::Tiny qw(:all); capture { exec( ("ls","-l","/tmp") ) };'
Not sure if it is a bug, because exec does not return to perl, but at least it is worth mentioning in documentation.
Running:
perl -e 'use Capture::Tiny qw(:all); capture { exec( ("ls","-l","/tmp") ) };'
will leave captured output in temporary files.