Skip to content
Permalink
Browse files

Fix $*PROGRAM path construction after a chdir

  • Loading branch information...
ugexe committed Jan 12, 2019
1 parent 5c14916 commit cebf0cb7bd9dbace62d820305f47d2e8a3657da5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Process.pm6
@@ -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', {

0 comments on commit cebf0cb

Please sign in to comment.
You can’t perform that action at this time.