Document service account choices for AD-aware hooks #1

Merged
justin merged 17 commits from claude/pensive-easley-4abcbe into main 2026-05-08 10:05:12 -04:00
Showing only changes of commit ebac2c7c04 - Show all commits
@@ -160,7 +160,11 @@ public sealed class ProcessExecutor : IExecutor
else
{
psi.ArgumentList.Add("-Command");
psi.ArgumentList.Add(endpoint.InlineCommand ?? "");
// Pipe stdin into a scriptblock so trailing argv entries bind via @args
// and the script can still consume the request body via $input.
// Without the wrapper, PowerShell concatenates all trailing args into the
// -Command string and fails to parse them.
psi.ArgumentList.Add("$input | & { " + (endpoint.InlineCommand ?? "") + " } @args");
}
}