H.Merijn Brand wrote: > > Why not Cwd and abspath? Good idea. So I applied Jos' patch (thanks) as change 23954 to bleadperl, but I changed every test preamble to this :
BEGIN {
if( $ENV{PERL_CORE} ) {
chdir '../lib/IPC/Run' if -d '../lib/IPC/Run';
unshift @INC, 'lib', '../..';
use Cwd;
$^X = Cwd::abs_path($^X);
$^X = qq("$^X") if $^X =~ /\s/;
}
}
It seems to work. Now watch the smokes...
