Skip to content

Commit

Permalink
Fix $*PROGRAM path construction after a chdir
Browse files Browse the repository at this point in the history
  • Loading branch information
ugexe committed Jan 12, 2019
1 parent 5c14916 commit cebf0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Process.pm6
Expand Up @@ -37,7 +37,7 @@ Rakudo::Internals.REGISTER-DYNAMIC: '$*PROGRAM-NAME', {
}

Rakudo::Internals.REGISTER-DYNAMIC: '$*PROGRAM', {
PROCESS::<$PROGRAM> := IO::Path.new($*PROGRAM-NAME);
PROCESS::<$PROGRAM> := IO::Path.new(:CWD(INIT nqp::cwd()), $*PROGRAM-NAME);
}

Rakudo::Internals.REGISTER-DYNAMIC: '$*TMPDIR', {
Expand Down

0 comments on commit cebf0cb

Please sign in to comment.