1. Rakudo::Internals.REGISTER-DYNAMIC: '$*CWD', {
  2. # PROCESS::<$CWD> = nqp::p6box_s(nqp::cwd());
  3. my $CWD := nqp::p6box_s(nqp::cwd());
  4. PROCESS::<$CWD> = IO::Path.new($CWD, :$CWD); # need :CWD to prevent looping
  5. }