Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install because File_pushd.t fails #11

Open
darutoko opened this issue Jul 9, 2017 · 1 comment
Open

Can't install because File_pushd.t fails #11

darutoko opened this issue Jul 9, 2017 · 1 comment

Comments

@darutoko
Copy link

darutoko commented Jul 9, 2017

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

not ok 27 - got a temp directory name from subproces
#   Failed test 'got a temp directory name from subproces'
#   at t/File_pushd.t line 185.
not ok 28 - temporary directory preserved outside subprocess

#   Failed test 'temporary directory preserved outside subprocess'
#   at t/File_pushd.t line 187.
No root path(s) specified
 at t/File_pushd.t line 189.
not ok 29 - temporary directory manually cleaned up

#   Failed test 'temporary directory manually cleaned up'
#   at t/File_pushd.t line 189.

I think the reason why its fails is that Perl installed in C:\Program Files\Perl

@kstarsinic
Copy link

Yes, this fails when the value of $^X contains a space. To fix, change
$temp_dir = $^X $program_file;
to
$temp_dir = "$^X" $program_file;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants