Skip to content

README: programs can't break away from the Job Object, and what %* passes on - #90

Merged
HalRiveria-Bot merged 1 commit into
mainfrom
docs/breakaway-and-batch-args
Nov 30, 2026
Merged

HalRiveria-Bot merged 1 commit into
mainfrom
docs/breakaway-and-batch-args

Conversation

@HalRiveria-Bot

@HalRiveria-Bot HalRiveria-Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Three README lines were missing or no longer right. No code changes.

  • Limits now says a program can't start a child outside the kit's Job Object. Neither the kit's job nor a program's own allows breaking away, so a program that asks for it (CREATE_BREAKAWAY_FROM_JOB) gets "access denied", which looks like a bug in that program. Not allowing it is on purpose: that child would escape the cleanup.
  • The claim that a program a batch file passes %* on to gets the list back as given holds for programs built with Microsoft's C runtime from 2008 on. One built against the older msvcrt.dll (most MinGW builds) reads the "" that stands for a " differently: through a .cmd, the list q"uote, after, a b arrived as q"uote after a and b .... Elements without a " came back as given.
  • The harness takes about five and a half minutes now.

Tested

Testing/readme-examples/run.ps1 passes on Windows PowerShell 5.1 and PowerShell 7. The %* behavior was checked on both with a small program that parses its command line with msvcrt.dll's own __getmainargs, through a .cmd (wrong, as above) and called directly (right).

🤖 Generated with Claude Code

…sses on

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@HalRiveria-Bot
HalRiveria-Bot merged commit a32d0d8 into main Nov 30, 2026
2 checks passed
@HalRiveria-Bot
HalRiveria-Bot deleted the docs/breakaway-and-batch-args branch November 30, 2026 20:58
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

Successfully merging this pull request may close these issues.

2 participants