Padre-Plugin-Perl6
view release on metacpan or search on metacpan
lib/Padre/Plugin/Perl6/StdColorizerTask.pm view on Meta::CPAN
Padre::Perl->perl . " "
. File::Spec->catfile( Padre::Util::share('Perl6'), 'p6tokens.p5' )
. qq( "$tmp_in" "$tmp_out" "$tmp_err" "$tmp_dir");
# all this is needed to prevent win32 platforms from:
# 1. popping out a command line on each run...
# 2. STD.pm uses Storable
# 3. Padre TaskManager does not like tasks that do Storable operations...
if (Padre::Constant::WIN32) {
# on win32 platforms, we need to use this to prevent command line popups when using wperl.exe
require Win32;
require Win32::Process;
sub print_error {
print Win32::FormatMessage( Win32::GetLastError() );
}
my $p_obj;
Win32::Process::Create( $p_obj, Padre::Perl->perl, $cmd, 0, Win32::Process::DETACHED_PROCESS(), '.' )
or warn &print_error;
( run in 2.695 seconds using v1.01-cache-2.11-cpan-364913b4093 )