merge: resolve conflicts with main
- Incorporate argv0 support from main
- Use ObjectDefineProperty instead of Object.defineProperty
- Keep timeout/killSignal functionality
- Fix pid handling for Windows (expect on Windows, plain on Unix)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>