1. Rakudo::Internals.REGISTER-DYNAMIC: '@*ARGS', {
  2. my @ARGS;
  3. my Mu $argiter := nqp::getcurhllsym('$!ARGITER');
  4. @ARGS.push(nqp::p6box_s(nqp::shift($argiter))) while $argiter;
  5. PROCESS::<@ARGS> := @ARGS;
  6. }
  7. Rakudo::Internals.REGISTER-DYNAMIC: '$*ARGFILES', {
  8. PROCESS::<$ARGFILES> = IO::ArgFiles.new(:args(@*ARGS));
  9. }